pre-production site

liunx

Guest
I want to design a web site for a domain name, <!-- w --><a class="postlink" href="http://www.domain.com">www.domain.com</a><!-- w -->. However I want to have a place to test/preview the site before it goes live on <!-- w --><a class="postlink" href="http://www.domain.com">www.domain.com</a><!-- w -->. />
<br />
For example, put the test site on staging.domain.com before moving it over to <!-- w --><a class="postlink" href="http://www.domain.com">www.domain.com</a><!-- w -->. However, in each page of the site, I want to have a base href of <!-- m --><a class="postlink" href="http://www.domain.com">http://www.domain.com</a><!-- m -->. this becomes a problem though when it is sitting in staging.domain.com.<br />
<br />
So my question is, what is the best way to go about setting up a testing/staging directory to preview the site/page before moving it over to the production directory? I want it to be fully functional in the staging directory, so I can move it directly to the production site without having to edit anything.<br />
<br />
I apologize if this is in the wrong section of the forum. I wasn't sure where to post this question.<!--content-->just make your staging place a subdirectory. <br />
<br />
sooo.... <!-- w --><a class="postlink" href="http://www.yournewsite.com">www.yournewsite.com</a><!-- w --> points to the root directory of 127.0.0.1. Use <!-- w --><a class="postlink" href="http://www.yournewsite.com/testing">www.yournewsite.com/testing</a><!-- w --> <br />
for your tests. You can do anything you need in that directory, and design complete structure inside test. Then when you want to just deploy it to the root directory.<!--content-->if there is no serverside langauge in it, just do it on your hard drive. then if you do have to change anyhting it should be minor.<!--content-->You could also try a temperory free host and use realtive paths.<!--content-->
 
Back
Top