Results 1 to 5 of 5
-
08-28-2007, 07:16 AM #1Junior Guru Wannabe
- Join Date
- Feb 2006
- Posts
- 35
Problems with dns setup on server.mydomain.com
I have problem with dsn setup .
IMPORTANT: Do not ignore this email.
The hostname (server.mydomain.com) resolves to . It should resolve to 209.40.xxx.xxx. Please be sure to correct /etc/hosts as well as the 'A' entry in zone file for the domain.
Some are all of these problems can be caused by
/etc/resolv.conf being setup incorrectly. Please check this file if you
believe everything else is correct.
You may be able to
automaticly correct this problem by using the ' Add an A entry for your
hostname ' under ' Dns Functions ' in your Web Host Manager
I am newbie and i need your help
Thank
-
08-28-2007, 09:26 AM #2Disabled
- Join Date
- Dec 2002
- Location
- chica go go
- Posts
- 11,876
it tells you how to fix it in the error message.
-
08-28-2007, 10:43 AM #3Aspiring Evangelist
- Join Date
- Mar 2006
- Posts
- 427
when you ping server.mydomain.com, does it resolve to 209.40.xxx.xxx?
Tweakservers : Authorised Reseller of SmarterMail | SmarterStats | SmarterStats | Mailenable
-
08-29-2007, 11:25 PM #4Junior Guru Wannabe
- Join Date
- Aug 2007
- Posts
- 35
Solve your Problem by this Way
Hello,
Please do following Step :
1.Setup nameservers in WHM
In WHM, select Basic cPanel/WHM Setup near the top in the left window pane.
Set the Primary Nameserver to ns1.yourdomain.com (the domain you registered). Then click Assign IP Address. Repeat this for the Secondary Nameserver section, using ns2.yourdomain.com.
On the bottom of the page, click Save.
note: the IPs will be set incorrectly, this must be changed in shell
2.Edit files in Shell
SSH into your server as root and open the following 2 files and edit (you can open a file using nano). Check the key below.
file 1 - type:
nano /etc/resolv.conf
The file should be edited to look like this:
domain yourdomain.com
search yourdomain.com
nameserver 127.0.0.1
nameserver IP1
nameserver IP2
Save (ctrl+o and enter) and close the file (ctrl+x).
file 2 - type:
nano /etc/nameserverips
The file should be edited to look like this:
IP0=0
IP1=ns1.yourdomain.com
IP2=ns2.yourdomain.com
Save (ctrl+o and enter) and close the file (ctrl+x).
Keys used above is explained below,
IP0=server ip
yourdomain = main domain of your server
IP1 = ip of nameserver 1
IP2 = ip of nameserver 2
ns1.yourdomain.com = nameserver 1 that you registered
ns2.yourdomain.com = nameserver 2 that you registered
Again do Step 1 , then Restart your server.
Please See following Reference :
http://www.webhostgear.com/11.html
-
09-01-2007, 08:56 AM #5Junior Guru Wannabe
- Join Date
- Feb 2006
- Posts
- 35
Thank Hosein . Done !