Hi,
Say I have a domain "foo.org".
Create 2 subdomains: dev.foo.org and live.foo.org
The directory structure would be:
~/www/dev/
~/www/live/
Is it possible to serve foo.org (and www.foo.org) off live.foo.org ?
In other word, I'd like ~/www/live/ to "act" as the apache documentroot of the site.
The reason for doing this is to setup a development directory and a live (production) directory. And pushing a tested site to production can be done by simply renaming the test dir to live.
One requirement would be that the browser address bar should show (foo.org or www.foo.org) and not (live.foo.org or foo.org/live).
I hope my explaination is clear enough.
Thanx in advance.
-cs


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks