Where is virtualhost file for domain?
This is for Easyapache 3 I still haven't upgrade yet.
In the /etc/httpd/conf/httpd.conf file
Under the domain it say:
# To customize this VirtualHost use an include file at the following location
# Include "/usr/local/apache/conf/userdata/std/2_4/destiny2infos/example.com/*.conf"
I make a conf file in that location but the server doesn't seem to read .conf file. I test by typing random letters and the server didn't produce any error after restarting. Where is the conf file for a virtual host locate in Easyapache3?
-
It's confirmed now that the virtualhost include file doesn't work. I put the same directive in httpd.conf under and it work: ServerName example.com 0 -
Hi, You'll need to run /usr/local/cpanel/scripts/ensure_vhost_includes after the modifications, as documented here Modify Virtualhost Containers With Include Files - EasyApache - cPanel Documentation 0
Please sign in to leave a comment.
Comments
2 comments