How to Build a New WordPress Site Without Taking Your Live Site Down
Content
A common challenge for WordPress users is developing a new website while the old one must remain live and accessible. Whether you're redesigning, switching from another platform like Wix, or building an entirely new site, the goal is the same: avoid downtime and public access to the unfinished work. Based on community discussions, here are the most effective strategies.
Why This Process Can Be Tricky
The core issue is that a domain name can only point to one location at a time. If your domain (e.g., yourbusiness.com) is currently live, you cannot simply install WordPress on it elsewhere without causing a conflict or taking the live site offline. The solutions below create a separate, private environment for development.
Common Solutions for a Smooth Transition
1. Use a Staging Environment Provided by Your Host
Many hosting providers, such as BlueHost, include a staging feature. This tool creates a clone of your live site in a private area on the same server. You can safely test new themes, plugins, and designs. Once complete, the host often provides a tool to "push" the staging site live.
Considerations: The availability and functionality of this tool vary by host. If you encounter issues pushing the site live, you may need to contact your specific hosting provider's support, as the process is unique to their platform.
2. Install WordPress in a Subdirectory
This method involves creating your new site in a folder on your same hosting account, such as yourbusiness.com/new-site/. Your live site remains untouched at the root (yourbusiness.com). You can design freely in the subdirectory. When ready, you can use migration plugins or manually move the files to the root directory to replace the old site.
Considerations: This requires your new and old sites to be on the same hosting account. Accessing the WordPress admin for the new site would be via yourbusiness.com/new-site/wp-admin.
3. Develop on a Temporary Domain
This is a highly recommended and straightforward approach. You purchase a new, cheap domain name (e.g., my-testsite.com) or use a temporary subdomain provided by your new host. You install WordPress and build your entire new site on this temporary address. This completely isolates your development work from your live domain.
Once the new site is finished, you follow these steps:
- In the WordPress dashboard under Settings > General, change both the WordPress Address and Site Address URLs from the temporary domain (e.g.,
my-testsite.com) to your live domain (e.g.,yourbusiness.com). - At your domain registrar, update the DNS settings for your live domain to point to the nameservers of your new hosting provider.
- Your new site will now be served from your live domain name.
Considerations: This method involves a DNS change, which can take up to 48 hours to propagate globally, though it's often much faster. There will be a brief period of downtime during the switch.
4. Use a Migration Plugin
Plugins like Duplicator Pro simplify the process of moving a site. You can build your new site on a temporary domain or locally on your computer. When you're ready, the plugin packages your entire site into files that you can easily upload to your live server, and it handles the search-and-replace operation for the URLs.
Considerations: Some users report issues with very large sites, as file size limits on the host can cause the migration to fail.
What to Avoid
A common point of confusion is trying to add your live domain as an "addon domain" to a new host while it is still active elsewhere. This typically will not work correctly, as the domain cannot resolve to two places at once. The DNS will always point to the live site, preventing you from accessing the WordPress installation on the new host.
Key Takeaway
The safest and most flexible method is to develop your new WordPress site on a temporary domain with your new hosting provider. This approach keeps your live site completely separate and allows you to take all the time you need. When finished, a simple change in the WordPress settings and your domain's DNS records will make the new site live.
Related Support Threads Support
-
Set up a (e-commerce) website in WordPress from scratchhttps://wordpress.org/support/topic/set-e-commerce-website-in-wordpress-from-scratch/
-
Issue with wordpress website moving from one domain to anotherhttps://wordpress.org/support/topic/issue-with-wordpress-website-moving-from-one-domain-to-another/
-
Gutenberg plugin not recommendedhttps://wordpress.org/support/topic/gutenberg-plugin-not-recommended/
-
Install on a Subdomain or create a New Domainhttps://wordpress.org/support/topic/install-on-a-subdomain-or-create-a-new-domain/
-
Push new site from Staging to Live in BlueHosthttps://wordpress.org/support/topic/push-new-site-from-staging-to-live-in-bluehost/
-
WP installation on addon domain while the actual domain is live elsewherehttps://wordpress.org/support/topic/wp-installation-on-addon-domain-while-the-actual-domain-is-live-elsewhere/
-
Website Redevelopment Chronologyhttps://wordpress.org/support/topic/website-redevelopment-chronology/
-
Namecheap WebsiteBuilder transition to WordPresshttps://wordpress.org/support/topic/namecheap-websitebuilder-transition-to-wordpress/
-
Build New Site… Not Sandboxed or Plugin?https://wordpress.org/support/topic/build-new-site-not-sandboxed-or-plugin/
-
Staging Website Helphttps://wordpress.org/support/topic/staging-website-help/
-
Replacing websitehttps://wordpress.org/support/topic/replacing-website/
-
my website about to be wiped outhttps://wordpress.org/support/topic/help-my-website-about-to-be-wiped-out/
-
Re-establishing URL on a host that connects apps to domains/siteshttps://wordpress.org/support/topic/re-establishing-url-on-a-host-that-connects-apps-to-domains-sites/
-
Staging a new site for approvalhttps://wordpress.org/support/topic/staging-a-new-site-for-board-approval/
-
Namecheap subdomain, how do I manually setup WP?https://wordpress.org/support/topic/namecheap-subdomain-how-do-i-manually-setup-wp/