kburgoyne
03-03-2009, 07:57 PM
Greetings. On other Apache servers where I have more admin control, I'm used to using DocumentRoot to switch between versions of a web site. This would be for the primary domain. Not a subdomain.
For example, we'll have a "live" web site being served from a DocumentRoot of perhaps "public_html/version1". We'll then be beta testing the changes we're making using the directory "public_html/version2".
As soon as we're ready to switch the new version to live, we simply repoint DocumentRoot to "public_html/version2". This has the magic side effect of allowing us to quickly switch back to "public_html/version1" should something unexpected happen.
The use of DoucmentRoot to select the web site version is very much like being able to flip a switch and immediately change (in entirety) the web site that's being accessed.
Any way to accomplish the equivalent (for the primary domain) using BlueHost?
Thanks!
For example, we'll have a "live" web site being served from a DocumentRoot of perhaps "public_html/version1". We'll then be beta testing the changes we're making using the directory "public_html/version2".
As soon as we're ready to switch the new version to live, we simply repoint DocumentRoot to "public_html/version2". This has the magic side effect of allowing us to quickly switch back to "public_html/version1" should something unexpected happen.
The use of DoucmentRoot to select the web site version is very much like being able to flip a switch and immediately change (in entirety) the web site that's being accessed.
Any way to accomplish the equivalent (for the primary domain) using BlueHost?
Thanks!