I’m in the process of moving a Wordpress website from one web server to another. Now I’m familiar with the technical details of the WP transfer, but the problem I’m having is how to keep the domain name the same.
My idea is to copy the WP files/database to the new server, under a new (test/dev) domain name, and then re-direct the old (real) domain name to this new server.
But that means I’d have to buy a new domain name to discard after I’m done, and a hosting package that enables at least two websites (domains), encountering extra costs. Is there any way to avoid this?
You can also add an entry to your computer’s hosts file so that your existing domain will point to the new server as far as your browser is concerned, which will allow you to test the site properly (the links will still work correctly).
I also strongly suggest purchasing Backup Buddy. We manually moved sites and tried other options for years, but as far as migration goes, it one of the better solutions and does all the renaming for you.