TIP: Click on subject to list as thread! ANSI
echo: os2user-l
to: All
from: Mike O`Connor
date: 2005-03-15 11:36:52
subject: Re: HOSTS file

Duncan Way wrote:

>>>I have an extensive HOSTS file in f:\mptn\etc.
>>>I have SET USE_HOSTS_FIRST=1 in config.sys.
>>>I have SET ETC=F:\MPTN\ETC in config.sys.
>>>      
>>>
>>>It appears that my HOSTS file is not being used.
>>>For instance; if I issue a 'host duncan.way.name' command it returns the
>>>dyndns.org  address instead of the one I hardcoded in the HOSTS file.
>>>      
>>>
>>>What could cause the HOSTS file being ignored?
>>>Is the spelling of the name important i.e upper/lower case?
>>>Is the structure critical?
>>>      
>>>
>>>Below is a sample of the file:
>>>      
>>>
>>>192.168.0.1 192.168.0.1 # #
>>>192.168.0.4:8080 duncan.way.name rudy # #
>>>192.168.10.1 192.168.10.1 # #
>>>192.168.10.2 192.168.10.2 # #
>>>209.197.121.15 40th.com # #
>>>      
>>>
>It appears that the :8080 on the 192.168.0.4 is causing the problem.
>I wanted that in there because web/2 is listening on that port.
>I'm using dyndns.org to redirect duncan.way.name to port 8080 and for
me to be able to 
>enter duncan.way.name as a url in mozilla and see the index page on my
computer I need 
>an entry in HOSTS to point it there.
>I will probably try using the standard 80 port and see if that works.
>

Hi Duncan,

I may be wrong, but I've never seen a hosts entry with a port specified 
along with the dotted-quad!
Why can't you just enter "192.168.0.4:8080" in the Mozilla URL entry? 
Even set up a URL-object for it with a title of "duncan.way.name"?
The way it is I read "rudy" as an *alias* for "duncan.way.name"
What are the # # supposed to do?

-- 
Regards,
Mike

Failed the exam for
--------------------
MCSE - Minesweeper Consultant and Solitaire Expert
--------------------
[ISP blocks *.exe, *.cmd, *.com, *.bat, *.reg attachments]
[Please use zipped versions of above]



 
Yahoo! Groups Links

 To visit your group on the web, go to:
    http://groups.yahoo.com/group/os2user/

 To unsubscribe from this group, send an email to:
    os2user-unsubscribe{at}yahoogroups.com

 Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




---
* Origin: Waldo's Place USA Internet Gateway (1:3634/1000)
SEEN-BY: 633/267 270 5030/786
@PATH: 3634/1000 12 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.