Question
Why does my website show the default cPanel page?
Answer
Usually, the default cPanel page happens when the domain resolves to an IP address that doesn't match the IP address in the domain's Virtual Host configuration. To confirm the cause of this issue, compare the IP address to which the domain resolves to the domain's IP address found in /etc/userdatadomains and the Virtual Host IP address in /etc/apache2/conf/httpd.conf.
Please note that the NAT configuration in WHM at "Home / IP Functions / Show or Delete Current IP Addresses" should also be reviewed if the server uses NAT.
- If the wrong IP is used in the Virtual Host configuration, you can use "Home / IP Functions / IP Migration Wizard" to move all affected domains to the correct IP address. Updating the IP in this manner will help ensure that all the relevant configuration files have been updated to the proper IP address.
- If the domain resolves to an incorrect IP address, update the domain's A records on the authoritative nameservers to point to the correct IP address. If your server is the authoritative nameserver, the A records can be updated from "Home / DNS Functions / DNS Zone Manager" in WHM or "Domains / Zone Editor" in cPanel.
- If the Virtual Host hasn't been read, Apache must be hard restarted. Apache can be restarted by running the following command as the 'root' user at the command line.
/scripts/restartsrv_apache --hard
Comments
0 comments
Article is closed for comments.