httpd.conf doesn't answer to host without www
This is a new installation of a server, cpanel v66.0.14.
We can't access sites with domain.com, only www.domain.com
in the httpd.conf there are
ServerName hostnameoftheserver
ServerAlias mail.domain.com www.domain.com
it's missing serveralias domain.com.
What can we do?
-
Hello, You have to add domain name entry in http.conf or try to rebuild http.conf using bellow script. /scripts/rebuildhttpdconf 0 -
Hello, Can you verify that you created a new account for this domain name in Web Host Manager using the "Create A New Account" option? It's documented at: Create a New Account - Documentation - cPanel Documentation Thank you. 0 -
yes, I created 4 accounts, all of them had the ServerName hostname.of.server However, somehow, I don't know how, it's now configured correctely and ServerName domainX.com is configured for each of the 4 accounts. 0 -
However, somehow, I don't know how, it's now configured correctely and ServerName domainX.com is configured for each of the 4 accounts.
Could you open a support ticket using the link in my signature so we can take a closer look? Thank you.0
Please sign in to leave a comment.
Comments
4 comments