Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have a virtual host setup in apache on a linux box as nc.abc.net (IP 192.168.1.1)
which I can browse on the linux via name or IP.
I can also browse via the IP but not the nc.abc.net on my windows box over my lan.
please help me i am newbie, I have read so many documentation about DNS, BIND, and apache virtual hosting but i have not able to figure out.
Originally posted by navinc I can also browse via the IP but not the nc.abc.net on my windows box over my lan.
What DNS servers are you using, your ISP's or maybe your own? Its most likely not knowing where to translate the name to IP, etc. You have to also make sure your registrar has the correct DNS information, along with the DNS server that actually points the name to IP, etc.
yes my linuxbox and winbox are in the same network segment
linuxbox IP 192.168.1.1 and winbox 192.168.1.151
connected witha switch. It is a closed lan no internet connection.
Ok, but is win XP setup to use your RH9's nameservers for lookups? If it is not, it will search the internet for nv.abc.com's ipaddress, which will return the wrong IP.
You RH9 box has this entry in its /etc/hosts file:
192.168.1.1 nc.abc.com nc
That is how your RH9 box know the ip for nc.abc.com is 192.168.1.1, it won't even do a DNS lookup if that is in your host file.
Did you try the C:\WINDOWS\system32\drivers\etc\hosts fix above?
it works when i put the host name and IP into the hosts file of my winbox thanks
but as you said it does not look up the DNS so how would do I make my name server work
My NS actually says recursion no;, but I would imagine setting it to yes should work.
Next you would need to configure the WindowsXP box to use your RH9 servers DNS. This is done under the tcp/ip settings in under network connections (right-click on the connection, go to propreties).
thanks all
I guess now I need help setting up a DNS server in my LINUX box running RH 9. I want to setup my DNS server just for the local lan. It is a closed network.
Thanks in advance
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.