Networking Forums

Networking Forums > Computer Networking > Windows Networking > hosts file : multiple host names for ip address

Reply
Thread Tools Display Modes

hosts file : multiple host names for ip address

 
 
John A Grandy
Guest
Posts: n/a

 
      09-03-2008, 11:22 PM
In the hosts file , is it legal to follow the ip address with multiple host
names ?

example :

127.0.0.1 localhost my_special_hostname


.... or do you have to list them line-by-line :

127.0.0.1 localhost
127.0.0.1 my_special_hostname


 
Reply With Quote
 
 
 
 
Phillip Windell
Guest
Posts: n/a

 
      09-04-2008, 01:40 PM
"John A Grandy" <johnagrandy-at-gmail-dot-com> wrote in message
news:(E-Mail Removed)...
> In the hosts file , is it legal to follow the ip address with multiple
> host names ?


Yes.

--
Phillip Windell
www.wandtv.com

The views expressed, are my own and not those of my employer, or Microsoft,
or anyone else associated with me, including my cats.
-----------------------------------------------------


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
hosts.allow does not resolve names Bit Twister Linux Networking 13 12-26-2007 08:53 AM
Is there any point to full host names in /etc/hosts ? Rikishi 42 Linux Networking 52 11-12-2007 06:59 PM
Single IP Address - Multiple hosts each with different domain name. willirl@gmail.com Linux Networking 3 08-28-2005 04:31 PM
DHCPD and host names gedm Linux Networking 0 06-08-2005 09:00 AM
Can Not Resolve Host names =?Utf-8?B?QXR0aWN1cyBGaW5jaA==?= Windows Networking 4 01-16-2005 10:11 PM



1 2 3 4 5 6 7 8 9 10 11