Acessing VMware Ubuntu by server name

Sven aluoor at gmail.com
Wed Sep 24 09:27:51 UTC 2008


On 9/24/08, marc <gmane at auxbuss.com> wrote:
> Hi,

Hi Marc

>  I have Ubuntu running as a VMware vm on a Windows XP box.
>  I can access services, say Apache, by the vm's IP address, but I would
>  like to access them by their machine/domain name.
>
>  In other words, use:
>
>   http://server/helpdesk
>
>  instead of:
>
>   http://192.168.1.201/helpdesk

In Windows XP there is also a hosts file: c:\windows\system32\drivers\etc\hosts
Write there IP, hostname and domain; if you need the name resolution only local.

If you need the name resolution in LAN, update an A record in your DNS servers.

>  Is there a way to do this?
>  I am using a bridged connection, so the vm has its own IP address.

>  Cheers,
>  Marc

regards
Sven




More information about the ubuntu-users mailing list