Editing Vhosts
Hello,
i am quite new to the cpanel and EasyApache tool.
I am trying to edit the root directory (when the user types XXX.com what the document root should be?).
I created a new folder called userdata in the path "/etc/apache2/conf.d" and created a file called vhosts.conf
i put my vhost in it .
what else should i do?
-
Hello, I think the documentation here might be helpful Modify Apache Virtual Hosts with Include Files | cPanel & WHM Documentation and Custom Templates | cPanel & WHM Documentation 0 -
Hello, I think the documentation here might be helpful Custom Templates | cPanel & WHM Documentation
in the main file they said that i could edit in files such "post_virtualhost_global.conf" and "pre_virtualhost_global.conf" ok i put this rule in both of them and restarted the server but nothing changed. could u help me with this?0 -
Did you rebuild apache and restart it according to the directions at the bottom? 0
Please sign in to leave a comment.
Comments
3 comments