Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

We've a site running on Centos (tomcat) server. It's ip is 10.10.0.60. Now I've setup a local DNS server so that we can access it from the internal network (say a workstation with ip 192.168.1.200) using the domain name. Somehow, i still can't access the site from this workstation. Doing a 'nslookup oursite.ca' from cmd line does resolve successfully to 10.10.0.60. The only way to access the site is by typing http://10.10.0.60. I want access by domain name to work as well. Based on the nslookup results, the dns seems to be working fine... so what is wrong?

share|improve this question

migrated from stackoverflow.com Dec 1 '10 at 1:02

This question came from our site for professional and enthusiast programmers.

2 Answers 2

Check the server logs on whether it does some sort of vhosting. Common webservers like Apache/lighttpd/etc. are regularly configured to do something like that.

share|improve this answer

Be aware that nslookup does not use the system resolver, and so there may be some problem there. What error do you get from your web browser? Is it saying server not found, or something else?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.