Apache2 httpd.conf errors -how to fix permanently?
-
I get the bit about not editing httpd.conf
# To have your modifications retained, you should create/edit administrator-specific # include files: # # /etc/apache2/conf.d/includes/pre_main_global.conf # /etc/apache2/conf.d/includes/pre_virtualhost_global.conf # /etc/apache2/conf.d/includes/post_virtualhost_global.conf
But can you give me an example of how to make permanent changes to the virtualhost address directive?
I'm running wireguard on the same server and whm picked up and assigned 10.x.x.x addresses in httpd.conf along with the CORRECT 45.x.x.x addresses.
If that makes sense?
0 -
I'm disappointed not to have some response. I'm tempted to remove cpanel and go back to virtualmin. At least that worked, I could edit httpd.conf and I got support.
No one able to offer any help with the included httpd.conf files?
0 -
Hey there! I can't say how Wireguard may be interacting with the IP addresses on the machine as that isn't something we provide support for. Is the server running in a NAT environment? Could you paste a copy of one of the vhost entries so I can see that (just exclude your domain name) as there shouldn't be a way to have two IP addresses in one vhost entry in a default configuration.
If you remove or disable Wireguard and then create a new account, does the issue continue to happen?
0
Please sign in to leave a comment.
Comments
3 comments