Sometimes, when you load a site it will load a default cPanel page. When you access the server's main IP address on port 80, it displays the default page, since by default, there are no IP-based VirtualHosts. Also, when you access the server's hostname on port 80, it displays the default webpage.
Other times, this is a result of the domain having been assigned an IP address not bound to the server, the wrong internal or external IP address, or a public IP address is used in a NAT environment. To confirm this is the issue, compare the DNS IP address of the domain, to the IP found in /etc/userdatadomains
for the domain, then also review the NAT configuration in "Show or Delete IP Addresses".
To address issues where the wrong IP is used in Apache (public IP on a NAT server, or the wrong internal IP), you can use the IP Migration Wizard to move all domains to the new IP. Updating the IP in this manner will help ensure that all the appropriate configuration files have been appropriately migrated to the correct IP.
After using the IP Migration Wizard, complete this step to correct this issue for new accounts:
Navigate to WHM’s Basic WebHost Manager Setup interface (WHM >> Home >> Server Configuration >> Basic WebHost Manager Setup). To configure the shared IP address, perform the following steps:
- Select the Basic Config tab.
- In the "The IP address (only one address) that will be used for setting up shared IP virtual hosts" text box, enter the new IP address that the system will use for shared IP virtual hosts.
- Select Save Changes.
Alternatively, it is possible that the domain simply has not yet been added to the server as a primary, addon, or alias domain. All domains pointed to a cPanel server need to be added to the server directly. You will either need to create an account for the domain or add it through the cPanel > Domains > Domains feature.