LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Problem in browsing local http sites (http://www.linuxquestions.org/questions/linux-networking-3/problem-in-browsing-local-http-sites-507704/)

java-student 12-05-2006 02:29 PM

Problem in browsing local http sites
 
Hi,

My problem is with accessing local http sites (LAN). I can access them using the IP address like

Code:

http :// 10.1.1.1
but I can't use the name like

Code:

http :// computer
In windows system, it works fine. but it doesn't with linux OpenSuse 10.1

This is the content of the file /etc/resolv.conf

Code:

### BEGIN INFO
#
# Modified_by:  NetworkManager
# Process:      /usr/bin/NetworkManager
# Process_id:  2799
#
### END INFO



nameserver 10.1*0.1.*
nameserver 10.1*0.3.*

it has the same DNS server as Windows ipconfig /all

regards,

Andrew Benton 12-05-2006 02:54 PM

Add the addresses for the computers on your local network to /etc/hosts

10.1.1.1 computer
10.1.1.2 another-computer

java-student 12-05-2006 03:14 PM

Is there another way to make it automatically instead of adding each IP-Name to the hosts file ?


All times are GMT -5. The time now is 12:21 PM.