Sandbox for testing new version of website


#1

I have an existing domain and website setup with DH.
I’m now working on version 2 of the site. I want to upload v2 and test it without overwriting the existing web site. Is there a help topic to assist with this task?


#2

Create a subdomain. I call mine beta.example.com and set up as Fully Hosted under the same user as my main site. So you’ll have to websites in that FTP user’s home directory:
/home/USER/example.com
/home/USER/beta.example.com

When it comes time to go live, I FTP in and do some renaming:
rename example.com to example.old
rename beta.example.com example.com
rename example.old to beta.example.com

So the new site is live and the old site becomes beta.example.com