Domain going to cPanel default page
Hi,
A lot of our users keep their DNS at the registrar and just want to use my server purely the web hosting.
If they point their www. records at my servers IP, they get the default cPanel page.
The accounts are setup in WHM so I'm not quite sure what I'm doing wrong?
Thanks
Tom
-
heyjim (had to), are your nameservers setup properly? :) How to Register Private Nameservers - cPanel Documentation 0 -
]heyjim (had to), are your nameservers setup properly? :) How to Register Private Nameservers - cPanel Documentation
I haven't bothered setting up the nameservers - do they need setting as I'm only pointing a www record to the server?0 -
Hey Heyjim, You are correct, you do not need to configure name servers if you are pointing the website directly to the IP Address. The things I would be checking are: 1. In WHM -> List Accounts -> Make sure the IP Address next to the website you are referring to is the same IP you are pointing the www record to. 2. From the command line run the following script and check for any errors (not sure how to do the code box in this forum yet) # /usr/local/cpanel/scripts/rebuildhttpdconf
I would also try viewing the site from another location using something like this ->0 -
]Hey Heyjim, You are correct, you do not need to configure name servers if you are pointing the website directly to the IP Address. The things I would be checking are: 1. In WHM -> List Accounts -> Make sure the IP Address next to the website you are referring to is the same IP you are pointing the www record to. 2. From the command line run the following script and check for any errors (not sure how to do the code box in this forum yet)
# /usr/local/cpanel/scripts/rebuildhttpdconf
I would also try viewing the site from another location using something like this ->0 -
rebuild apache will not fix this issue. First check on which IP that domain is pointing. Then in DNS configuration check A record IP in which that domain is pointing. Also, check httpd.conf file in virtualhost setting which IP is set. In all the above 3 locations you need same IP. Once done then restart apache and DNS this will fix it. 0 -
]rebuild apache will not fix this issue. First check on which IP that domain is pointing. Then in DNS configuration check A record IP in which that domain is pointing. Also, check httpd.conf file in virtualhost setting which IP is set. In all the above 3 locations you need same IP. Once done then restart apache and DNS this will fix it.
At the registrar the www and @ records are pointing to the main server's IP, the accounts also have the same IP. I checked in httpd.conf and the sites also have the correct IP but I'm not sure if I've missed anything else? I've also restarted Apache, DNS and even the whole server a few times. Any ideas?0 -
If your index page is index.php or home.php or something else, there may be an index.html page with redirection set up will be present in the document root. Remove it. (If the apache is set up to load index.html page with higher priority, index.php will not be loading and vice versa) In my case, this was the reason. Wp page was not loading. 0
Please sign in to leave a comment.
Comments
7 comments