Skip to main content

cpanel account with subdomain sorry page

Comments

6 comments

  • marcelo falcao
    Attached images.
    0
  • cPRex Jurassic Moderator
    Hey there! When you get the default "Sorry" page this is almost always an issue with DNS. This indicates there is a mismatch between the IP the domain (or subdomain, in your case) is using in DNS, and the IP address configured for the domain in Apache, which causes Apache to not know what content to serve. Can you check and see if that is the case for this subdomain?
    0
  • marcelo falcao
    Hey there! When you get the default "Sorry" page this is almost always an issue with DNS. This indicates there is a mismatch between the IP the domain (or subdomain, in your case) is using in DNS, and the IP address configured for the domain in Apache, which causes Apache to not know what content to serve. Can you check and see if that is the case for this subdomain?

    You mean there was some change to httpd.conf then? I don't understand much but it may have a different ip in apache's httpd.conf? Where specifically? Thank you for your help
    0
  • cPRex Jurassic Moderator
    I'm not saying there was a change necessarily, but if the DNS doesn't match the IP in Apache that would be an issue. If you have access to WHM you can just check the List Accounts page to see what IP is assigned to that domain, so there's no need to check the Apache configuration directly.
    0
  • marcelo falcao
    You mean there was some change to httpd.conf then? I don't understand much but it may have a different ip in apache's httpd.conf? Where specifically? Thank you for your help

    I found the problem, the account's virtual host is not being registered in httpd.conf but it was always recorded, now it is not being registered anymore. How to get around this?
    0
  • cPRex Jurassic Moderator
    I would recommend running the following commands to back up the current configuration, attempt a rebuild, and restart the Apache service: cp /etc/apache2/conf/httpd.conf{,.bak-`date +%Y%m%d`} /scripts/rebuildhttpdconf /scripts/restartsrv_httpd
    Can you try that and see if that gets the vhost added back into the configuration?
    0

Please sign in to leave a comment.