Mailinglist Archive: opensuse (4547 mails)

< Previous Next >
Re: [SLE] Help with internal ip / host names
  • From: Jostein Berntsen <jbernts@xxxxxxxxxxxx>
  • Date: Tue, 25 May 2004 23:18:52 +0200
  • Message-id: <20040525211852.GB2545@xxxxxxxx>
On 25.05.04,09:50, Daniel Purdy wrote:
> Hello. I'm having a complete brain fart here, and can't seem to put in
> the right information to google to get what I need, so I was wondering
> if someone could help enlighten me. I have a test server set up on our
> local network here, and its almost running great. The problem is that in
> order to access the computer you have to use the internal ip address and
> cannot use the computer name. How do I bind the computer name to the ip
> address (this is only for access over the internal network), so for
> instance when I need to go view the web root I can type in
> http://computerName instead of http://192.168..... TIA!
>

You can try this command as on your clients and server:

echo "192.168.100.0 computername.your.network computername" >> \
/etc/hosts


- Jostein


--
Jostein Berntsen <jbernts@xxxxxxxxxxxx>

< Previous Next >
References