Click to See Complete Forum and Search --> : Squid and DNS?


jaque
03-29-2001, 12:16 PM
I want to be able to pull up a web page on a browser from a webserver that is located on my local network, but I want to be able to just type in the computer name and not the full domain name.

For example:

I wan't to be able to do this: http://servername/webfolder/index.html

But currently it works as: http://servername.domain.com/webfolder/index.html

I am using Squid 2.4PS2 as my proxy server on RedHat 7.0. I know it will work on other proxy servers, cause I tried it, but I need it to work on Squid. I want to switch to Linux really bad! ;)

jaque
03-29-2001, 12:30 PM
Also it works with the ip address.
Example:

http://123.45.678.90/webfolder/index.html

Helius
03-29-2001, 01:46 PM
Maybe it helps just to write the hostname in your "/etc/hosts" file (on client)

this is done like this:

192.168.1.14 servername.domain servername

jaque
04-02-2001, 12:58 PM
hehe..... I would put it into the hosts file on the client....but....I have over 1600 computers on my network it might take me awhile.

but thanks for the tip!

Helius
04-02-2001, 01:19 PM
Oh... :(

James Bond
04-02-2001, 01:19 PM
If the computers are on a DHCP this will be really easy.

If you set a search domain (ie, you pass it a domain from the DHCP server) you should just be able to type in http://servername/ to bring up servername.domain

Or (depending on the OS of the machines), you may have to add it manually. But, this works cause I've done it with linux, but, I think I had to enter the domain manually.

However, if the clients are Windows, all the machine need is a netbios name and the rest will be handled.

-JB

jaque
04-02-2001, 01:22 PM
So what you are saying JB is that if I add it to the PDC's hosts file that all of the DHCP clients should be able to pick on the servername.domainname format?