Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-13-2005, 11:50 AM   #1
LQ Newbie
Registered: Apr 2005
Posts: 7

Rep: Reputation: 0

I'm new in Linux and need some help. My server is install with Linux Redhat Enterpise 3.0 AS, Linux software is running well and had been connected to fixed IP address. I can ping my server using IP address. I'm now ordering cpanel software from cpanel inc and requesting cpanel inc to do installation of software for me. However cpanel support team told me my server having problem because it is unable to ping my domain name, they ask me to add valid DNS server IPs to /etc/resolv.conf

I do not know how to do it since I not familiar with Linux, normally in Windows we have c:\ and we can move from one folder to another, but in Linux there is no folder so how do I entering /etc/resolv.conf folder

Please help.
Old 05-13-2005, 01:08 PM   #2
Registered: Mar 2005
Location: the thrid rock from the sun
Distribution: Red Hat 8, FC 3
Posts: 31

Rep: Reputation: 15

hope you are familiar with DNS etc, though u're not familiar with linux..

/etc/resolv.conf is not a directory, resolv.conf is a file in /etc just have to add the your name servers onto this file. you can do it by using any text editor in can try gedit, or any other GUI based text tool...add the following lines and hopefully it should work..

nameserver <ip address>
nameserver <ip address>

in that order of primary, secondary DNS etc...thats all.

oh well, before editing the file, do the following as root:

/etc/init.d/network stop

after editing the file,

/etc/init.d/network start

hope this helps...

Old 05-13-2005, 04:25 PM   #3
Registered: Aug 2004
Distribution: RedHat Enterprise, SLED 10, Freespire
Posts: 49

Rep: Reputation: 15
adding search <your domain name> to that /etc/resolv.conf makes life much easier by allowing you to ping a host name without adding the domain.

mine looks similar to this




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
resolv.conf albundy Linux - Software 5 12-14-2004 03:12 PM
resolv.conf jmdlcar Slackware 9 05-15-2004 11:44 AM
resolv.conf ricemark20 Linux - Networking 12 11-11-2003 04:08 PM
resolv.conf dnsbum Linux - Networking 1 10-21-2003 12:00 PM
resolv.conf Culbert Linux - Networking 8 03-20-2003 04:11 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration