Default vhost for port 443?
I can see in the httpd.conf that port 80 has a default vhost created by WHM but port 443 doesn't have one on my server. So when you try to go to hostname:443 you get on of my addon domains.
Is there maybe a setting in WHM that I have missed where you can set a default vhost for port 443? Or can I do it in some other way?
Actually thought WHM already fixed this as default. Didn't discover it until my host certificate expired because my nagios check monitored the addon domain so I had no idea it had expired. The check used to work as intended so this must have changed in some WHM/cPanel update.
-
Hi, A SSL Vhost for any domain will be created when you install SSL on that domain. Try installing a SSL on your domain and then check the port 443 for your response.. 0 -
I already have a SSL-certificate installed on that domain and I've had that since before this problem started. I tried to reinstall the certificate but then I just come to another one of my domains when I go to the server hostname using SSL. 0 -
@Erik Ellsinger, are any custom apache templates in use? # find /var/cpanel/templates/apache2* -type f -name \*.local0 -
No, that command give me no result. 0 -
Solved it by running the following: /scripts/upcp --force /scripts/rebuildhttpdconf /scripts/restartsrv_httpd 0
Please sign in to leave a comment.
Comments
6 comments