Hi, I have an account on which I have a lot of addons and subdomains, and for organization I want to have the main domain in a subfolder of public_html.
I can do this by editing httpd.conf and changing the line in that section from this
. . .
to this
But I understand I should do this in the WHM Apache includes editor instead of directly in the httpd.conf file.
My question is which include file, and what exactly do I put in there. Do I add the whole Virtual Host section with changes?
Thanks,
jim
I can do this by editing httpd.conf and changing the line in that section from this
Code:
<VirtualHost xx.xx.137.162:80>
ServerName xyz.com
ServerAlias www.xyz.com
DocumentRoot /home/xyz/public_html/
to this
Code:
<VirtualHost xx.xx.137.162:80>
ServerName xyz.com
ServerAlias www.xyz.com
DocumentRoot /home/xyz/public_html/xyz
But I understand I should do this in the WHM Apache includes editor instead of directly in the httpd.conf file.
My question is which include file, and what exactly do I put in there. Do I add the whole Virtual Host section with changes?
Thanks,
jim