Results 1 to 14 of 14
Thread: Cpanel DNS not working correctly
-
07-13-2009, 12:39 PM #1Newbie
- Join Date
- Jul 2009
- Posts
- 13
Cpanel DNS not working correctly
Hello. I have a problem with the DNS on my server.
Everytime I add a account to my server, the DNS says the domain is setup with the IP 192.168.1.5.
I have the nameservers setup correctly on the domain however I can only access this website from the server only.
Do I have something setup wrong somewhere?
In "Basic cPanel/WHM Setup" is the Virtual Host IP meant to be a LAN address?
Thanks for the help!
-
07-13-2009, 01:51 PM #2Junior Guru
- Join Date
- Jun 2009
- Location
- Kochi,India
- Posts
- 179
In your Basic cPanel/WHM Setup, in the section for Virtual Host IP, you have to give the primary ip of your server.
Also there will be an option for you to enter
Primary Nameserver & Secondary Nameserver in your Basic cPanel/WHM Setup. Have you entered it
correctly?Last edited by Rekhatitus; 07-13-2009 at 01:55 PM. Reason: Add
-
07-13-2009, 02:05 PM #3Newbie
- Join Date
- Jul 2009
- Posts
- 13
Yes, I think I have.
Does the Virtual Host IP have to be the LAN IP of the server, or the external IP?
I have the Primary and Secondary nameservers setup correctly.
Thanks!
-
07-13-2009, 03:07 PM #4Junior Guru
- Join Date
- Jun 2009
- Location
- Kochi,India
- Posts
- 179
-
07-13-2009, 05:36 PM #5Newbie
- Join Date
- Jul 2009
- Posts
- 13
Ok thanks.
Although the website can now be accessed, it only shows the "Apache is working on your cPanelŽ and WHM™ Server" page.
Any idea how to make the website link to it's area?
Thanks.
-
07-14-2009, 01:17 AM #6Junior Guru
- Join Date
- Jun 2009
- Location
- Kochi,India
- Posts
- 179
Hello DawnHosting,
Go check your document root for your domain inside the httpd.conf, it should be something like /home/user/public_html.
or else run the script /scripts/easyapache to fix this.
-
07-14-2009, 01:29 AM #7Web Hosting Evangelist
- Join Date
- Jan 2003
- Posts
- 512
-
07-14-2009, 05:55 AM #8Newbie
- Join Date
- Jul 2009
- Posts
- 13
Thanks. I've tried rebuilding apache and I've checked the DNS and sites IP addresses; they match.
Could it be something else?
Thanks!
-
07-14-2009, 07:20 AM #9Junior Guru
- Join Date
- Jun 2009
- Location
- Kochi,India
- Posts
- 179
hey, what is the output of
#ping yourdomain.com.
Is that the same ip, of your domain or is it something else?Last edited by Rekhatitus; 07-14-2009 at 07:21 AM. Reason: add
-
07-14-2009, 11:03 AM #10Newbie
- Join Date
- Jul 2009
- Posts
- 13
It's the same IP as the website.
I can't understand why it won't work.
Oh, when I change the site IP, there is an option to change it to:
"192.168.1.5 [Main Address]"
Should 192.168.1.5 still be the main address?
-
07-14-2009, 11:11 AM #11Junior Guru
- Join Date
- Jun 2009
- Location
- Kochi,India
- Posts
- 179
192.168.1.5 will not be your main ip. Have you set it to 192.168.1.5 in WHM Basic/cPanel setup .Can you attach the your WHM Basic/cPanel setup here.
It will be mostly same as the ip with which you are accessing your WHM
-
07-14-2009, 05:40 PM #12Newbie
- Join Date
- Jul 2009
- Posts
- 13
It's not setup in "WHM Basic/cPanel setup".
Only my external IP is.
Is there a way to manualy remove the IP 192.168.1.5, because I can't remove it in "Show or Delete Current IP Addresses".
It's like WHM thinks it's my Virtual Host IP.
Thanks.
-
07-15-2009, 02:28 AM #13Junior Guru
- Join Date
- Jun 2009
- Location
- Kochi,India
- Posts
- 179
You cannot remove IP addresses that are in use. You must first remove the accounts they are associated with or switch the domains to a new IP address.
-
07-15-2009, 03:16 AM #14Newbie
- Join Date
- Jul 2009
- Posts
- 13
There arent any accounts with that IP.
Could there be anything else which uses the IP?
Similar Threads
-
FTP not working correctly due to truncating
By coastandhil in forum Hosting Security and TechnologyReplies: 12Last Post: 01-20-2006, 07:26 AM -
PHP not working correctly
By lifeisboost in forum Hosting Security and TechnologyReplies: 2Last Post: 09-23-2005, 06:44 PM -
Mail not working correctly...
By runes911 in forum Hosting Security and TechnologyReplies: 2Last Post: 03-30-2005, 09:08 AM -
PHP not working correctly
By The Laughing Cow in forum Hosting Security and TechnologyReplies: 6Last Post: 07-22-2002, 03:45 PM -
WHT Search not working correctly
By Perfecthost in forum WHT Announcements, Feedback and QuestionsReplies: 23Last Post: 07-03-2002, 09:21 AM