On Sat, 5 Sep 1998, zens wrote:
have ou considered just using the /etc/hosts file? or do you need a non-unixlike OS to be able to make queries?
On Sat, 5 Sep 1998, Dwight Johnson wrote:
I am on SuSE 5.2 and I need to configure name service to establish a couple of local host names on my network even though I have only a dial-up connection to the Internet.
What I need is actually *just one* additional local host name so Netscape will see it and not go looking for it on the Internet.
Here is my attempt to use /etc/hosts: /etc/hosts 127.0.0.1 localhost 192.168.1.1 runner.aaronsrod.com runner 192.168.1.1 slash.aaronsrod.com slash ---------- /etc/resolv.conf search runner.aaronsrod.com #olypen nameservers nameserver 208.200.248.1 nameserver 208.200.251.97 ---------- /etc/httpd/httpd.conf NameVirtualHost 192.168.1.1 <VirtualHost 192.168.1.1> ServerAdmin dwj@runner DocumentRoot /usr/local/httpd/htdocs ServerName runner ErrorLog /var/log/runner-error_log TransferLog /var/log/runner-access_log </VirtualHost> <VirtualHost 192.168.1.1> ServerAdmin dwj@runner DocumentRoot /home/slash/public_html ServerName www.slash.aaronsrod.com ErrorLog /home/slash/logs/slash-error_log TransferLog /home/slash/logs/slash-access_log </VirtualHost> ---------- When I try to access <A HREF="http://slash.aaronsrod.com"><A HREF="http://slash.aaronsrod.com</A">http://slash.aaronsrod.com</A</A>> in Netscape, it just goes to /usr/local/httpd/htdocs instead of to /home/slash/public_html. What is the correct way to set up the /etc/hosts approach? Thanks, Dwight - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e