View Single Post
Old 10-07-2009, 10:19 PM   #4 (permalink)
adamdecaf
The Addict
 
Join Date: May 2009
Posts: 287
Thanks: 5
adamdecaf is on a distinguished road
Default

Here is what I do.

Currently I host more than one site on the same server so this is my structure.

Code:
/
/SITE_1/
  /BLOG/ <-- blog.example.com
  /SITE/ <-- The main directory for .example.com
/SITE_2/
 /BLOG/  <-- blog.example.net
 /SITE/  <-- .example.net
What I suggest doing is something like this.

Code:
/
/SITE/
  /BLOG/ <-- blog.example.com
  /SITE/ <-- The main directory for .example.com
  /NEW/ <-- dev.example.com
Then when you're ready to change over just delete /SITE/ and rename /NEW/ -> /SITE/ and you will be fine. The downtime should be under a minute.
__________________
My Site
adamdecaf is offline  
Reply With Quote