Generating redirecting file under the new subdomain to fix the dns issue that happen

Website URL

My old subdomain is: wuaze

Error Message
OtherThis site can’t be reached
Check if there is a typo in bikerhub.ct.ws.
DNS_PROBE_FINISHED_NXDOMAIN
To the Admin
Please help us step by step,to migrate our websites from old subdomains to the new one
Because i create a new subdomain, i’d uploaded the files and the database under the new one and ive changed the Url at phpmyadmin ,but it still does’nt work,so i’v deleted the new subdomain and recreate it a lot of time untill id faced another issue : can’t generate a redirected file under this new created subdomain…so please can you instructer us by a details description or a simple step by step video
Other Information

can’t generate a redirected file under this new created subdomain

Do we must change something in filemanager ,such as Wp-config.php !!?

If you copy everything to your new subdomain, you’ll then just need to change the site settings in wordpress.

You can’t redirect the old subdomain to the new domain

Adding the domain is straight forward, and moving the files is described here:

As for what other steps you need to take, that depends on how your website is built, so it’s not possible to describe that in a single guide that works for every website.

But since you’ve mentioned wp-config.php, it means you’re using WordPress. For WordPress, the only thing you need to do is update the site URL: Migrating WordPress – Advanced Administration Handbook | Developer.WordPress.org

However, that’s with the caveat that some plugins may require additional steps. But again, that depends on your website.

Yes,i use wordpress

Must i install wordpress again under the new subdomain ?

Must i copy the hole htdocs file ? even the index that autogenerated with old subdomain !!

I just told you what to do in my previous point. I did not mention installing WordPress anywhere, because that’s not what you should do.

Simply put: don’t install a new copy of WordPress if you don’t want a new copy of WordPress. If you want to move an existing site, you need to move the existing site.

Just copying (or moving) the entire htdocs directory is most straight forward.

The default index2.html file can be safely deleted on any website at any time. So no, you don’t need to move or keep it.