LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   DNS to IP not happening (https://www.linuxquestions.org/questions/linux-software-2/dns-to-ip-not-happening-386336/)

bharath144 11-25-2005 03:08 AM

DNS to IP not happening
 
hi all,
I have configured squirell mail and IMAP(cyrus)..
I am trying to test the server in a lan..
my pc's hostname is mine.mail.in
when i try to start squirellmail, giving http://mine.mail.in/squirellmail-1.4.5, the browser doesn't do anything..
i will have to specify the ip address explicitely
http://(ipaddress)/squirellmail-1.4.5, the login page is displayed..
typing the ip everytime and askin ppl in the lab to remember it is a little clumsy..
what could be wrong here??
can anyone help me???

regards
Bharath

scuzzman 11-25-2005 04:23 AM

You need to map "mine.mail.in" to localhost if it's not a registered domain name. In the /etc/hosts file, just add an entry that says
Code:

mine.mail.in      127.0.0.1
Note, that is a tab between them. If this is a registered domain, then are you able to resolve other domains?

srinivas282 11-25-2005 06:29 AM

iam getting same problem even you getting through ip iam not getting through ip also so please tell how make even ip

bharath144 11-25-2005 10:53 AM

Quote:

You need to map "mine.mail.in" to localhost if it's not a registered domain name. In the /etc/hosts file, just add an entry that says

code:

mine.mail.in 127.0.0.1


Note, that is a tab between them. If this is a registered domain, then are you able to resolve other domains?
scuzzman, its done already, i checked in the /etc/hosts file its entry if fine, can you think of any other reason??

Quote:

iam getting same problem even you getting through ip iam not getting through ip also so please tell how make even ip
srinivas tell me your problem exactly..
make sure all your configuring work is done properly..

regards
Bharath

srinivas282 11-28-2005 03:27 AM

hi bharath,
thanks for your replay,
actually my problem is in my linux box iam able dig my domian,but in my local lan iam not able get that domian.
in linux box everything is fine,still iam not able nslookup in windows system thet are in my local lan

scuzzman 11-28-2005 05:38 AM

If you want it to be done on the other PCs, then that entry needs added to the /etc/hosts on your DNS server, not just on the local box.

srinivas282 11-28-2005 08:09 AM

hi friend,

my intranet dns server is windows and iam using linux box so i have to configure dns on linux && also http but in my locan lan iam not able to get nslookup from windows system also apache .but in my linux iam able dig dns && also run apache


regards
srinu


All times are GMT -5. The time now is 11:48 PM.