[Solved] VirtualHosts Change Document Root? How?

Nautic

Verified User
Joined
Jun 17, 2008
Messages
46
Hi, I am trying to change the document root for a domain and I can not get this to work. Any help would be appreciated, I have read the documentation ( http://help.directadmin.com/item.php?id=3 & http://help.directadmin.com/item.php?id=199 ) and tried a number of changes and still can not seem to get this to work.

My setup...

Files located:
Domain: http://my.domain1.com
/home/user1/domains/domain1.com/public_html/my

Domain I would like to have use the files from that directory is located at:
Domain: http://domain2.com
/home/user1/domains/domain2.com/public_html/

I can not get this to work at all. Can anyone share an example of their changes that they have managed to get these overrides in the top of the httpd.conf file to work?
 
Ignore me, I seem to have it now working. For anyone else that's having similar issues, make sure you have the corresponding DNS records entered to match your https.conf settings. :rolleyes:
 
Back
Top