Support » Fixing WordPress » Switch from sub-domain to primary domain

  • smittysmitty


    Hopefully this is a simple question..

    I am building a wp site for a school. They currently have a live site at on their existing host server that will remain live until the new site is ready. We are building their new wp (3.0) site on a new host server and have set up a sub-domain with their registrar for this test phase that points to this new server. The test site is built in the root of this new server and is almost ready to go live.

    When ready we will be re-pointing their primary domain to this new server IP address, but I am uncertain what steps need to be taken in wp to switch the domain of the site from to Again – the site files do not need to move from one server to another, or move from directory to root, they will remain where they are in the root of the new server – just need to switch the domain and re-point from existing server IP to the new server IP.

    Can I simply change the WordPress address and site address in General Settings? If yes, I’m assuming I’d re-point the domain to the new IP address first then log into the new wp site and make the URL switches in General Settings.

    Or – do I need to edit wp-config and find/change all references to the existing sub-domain in the database to the new, primary

    (NOTE: Earlier in this project I, successfully, migrated the test site from our test server at – following steps of backup wp and database files/moving files/reconfiguring wp-config/replacing instances of to Just wondering if I need to go through all of this again, or if the simple General Settings switch will do the trick?

    Please advise. Thank you for your help and patience.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Switch from sub-domain to primary domain’ is closed to new replies.