SOLVED domain loads from default cpanel page

Operating System & Version
cenos7 linux
cPanel & WHM Version
latest

MKarzoun

Registered
Dec 13, 2020
2
0
1
izmir
cPanel Access Level
Root Administrator
Hey there

I just installed the WHM & Cpanel and made some very basic configs, Also i have domain that pointing an A record to the server that cpanel installed on.

the domain always loads the cpanel default page from /var/www/html instead of the public_html folder in the filemanager witch is at /home/user/public_html.

how can i make the domain load from its public_html ?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
7,418
999
313
cPanel Access Level
Root Administrator
Hey there! When this happens it is almost always because there is a difference in the IP address that is setup in the domain's DNS versus the IP that is set up in the Apache configuration for the domain. You can see the IP being used on the domain in WHM >> List Accounts, so you can compare that to the IP the domain points to in DNS. A simple check with ping or dig would tell you the DNS IP. Can you check that and see if that is the issue?