I’ve been asked to build a new site for a company that already has a website at bluehost. Since they already have a site, I don’t want to install modx in the main directory do I? wouldn’t this overwrite the current site?
I’m thinking of creating a directory like www.currentsite.com/modx and installing it and building it there... but my question is, 1.) is this a good or bad idea? and 2.) once it’s ready to go live, how to I move the modx site to the www.currentsite.com directory if I installed it in the www.currentsite.com/modx directory? Thanks for any insight!!!
-
☆ A M B ☆
- 2,475 Posts
You could create a subdomain, e.g. modx.currentsite.com/
In the bluehost cpanel, you would add a sub-domain that would get mapped to a folder inside your public_html, e.g. ~/public_html/modx/
That means the site would live in the same place as if you had installed it to a subdirectory, but it would open up an easier domain for testing the site. Once they were ready to flip the switch, you could either move the contents of the modx/ directory into the main one, or you could update the .htaccess file in the main directory to route requests to the modx/ subdirectory.
Hope that helps.