>I'm trying to make localhost work in netscape (instead of routing to
>http://www.localhost.com as it does now) on Redhat 6.2 system on a local
>lan connected to external internet via netopia analog router).
That is because Netscape thinks that localhost is an incomplete name and
does a web search to try to find a similar fully qualified domain name.
Seems like a bug to me. To fix that in Netscape go to Edit, Perferences,
Navigator, Smart Browsing and UNcheck "Enable internet keywords".
Quote:>I set up a hosts file to define localhost as an alias for
>localhost.cox.dom (internal fake names). While that once worked, I
>touched something somewhere and it no longer does.
127.0.0.1 should not have any name or aliases other than localhost
(although, Red Hat also has localhost.localdomain so something that thinks
it needs a dot will work). If you have another local name that needs to
be recognized when it may not be connected, use another 127.0.0.x loopback
IP like 127.0.0.2. I do that with my ppp static hostname so sendmail and
apache will work off or online.
>By following the cryptic syggestions at www.localhost.com, I decided I
>needed to set up a DNS server for the local lan (8 machines) via
>http://www.linuxdoc.org/HOWTO/DNS-HOWTO-3.html under "A caching only
>All went well til the section "Starting named", which says type
>"/usr/sbin/ndc start". There's nothing there by the name ndc, nor under
>thing called under Redhat 6.2?
Red Hat usually has a package for a caching nameserver which should tell
you if you are missing something needed to make it work. But I don't know
if the DNS package itself is bind or named. All I know is that I do have
'ndc' which runs 'named' and it all works following the DNS-HOWTO