Results 1 to 5 of 5

Thread: How to recognize intranet host server name

  1. #1
    Join Date
    Feb 2010
    Beans
    2

    How to recognize intranet host server name

    Hi,

    I am using Ubuntu on a Windows network.

    One of the computers have apache server (working), it has 192.168.1.6 IP, and the name of the computer on the network is "servidor"

    I can't access from ubuntu, if I type http://servidor or 192.168.1.6, it goes to www.servidor.com, but I can access shared folders, just the host intranet server I can't

    I have vmware with windows xp, and I can access http://servidor from there, but not from Firefox in Ubuntu.

    I tried to search on google without success, how can I solve my problem, or where to look?

    Thanks

  2. #2
    Join Date
    Apr 2008
    Beans
    98

    Re: How to recognize intranet host server name

    The easy way is to simply edit your /etc/hosts file with a line like this:

    192.168.1.6 servidor

    But let me ask to clarify, this may change things, you CANNOT access the website by using the internal IP ?

  3. #3
    Join Date
    Mar 2007
    Beans
    807

    Re: How to recognize intranet host server name

    Windows boxes often use broadcasts to determine hostnames in a workgroup network. linux does not. You need to edit the /etc/hosts files or put up a functional dns server that can point servidor.local to the correct IP (not servidor.com as that is already out on the internet)
    Registered Linux User: 450747 Registered Ubuntu User: 16269

  4. #4
    Join Date
    Feb 2010
    Beans
    2

    Re: How to recognize intranet host server name

    Thank you!

    I did what you told me an now it works

    joberly: I cound't access with 192.168.1.6 neither with http://servidor, now I can with both

    thanks again

  5. #5
    Join Date
    Apr 2008
    Beans
    98

    Re: How to recognize intranet host server name

    Awesome!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •