Re: Apache, squid, et bind
* Aurélien Le Provost <aurelienlp@free.fr> [2003-01-13 01:18] :
> Salut
>
> Le Lundi 13 Janvier 2003 01:04, Frédéric Bothamy a écrit :
>
> > > Je n'y vois rien de suspect...
> >
> > Il faut peut-être vérifier ton fichier /etc/bind/named.conf (que la
> > bonne zone soit définie) et également que dans ton fichier
>
> J'ai oublié de préciser que si je fais ping ou ssh <nom>, ça marche. En
> fait le problème se manifeste seulement lorsque l'on essaye d'accéder
> au serveur apache en tapant seulement «nestor».
> Il faut taper nestor.clubinfo et là ça marche, mais c'est pas logique.
> Les /etc/resolv.conf des clients et du serveurs sont pourtant bien
> configurés...
Ok, dans ce cas, il s'agit plus probablement d'un problème au niveau
de la configuration Apache, non ? Dans le http.conf, il y a par
exemple :
# ServerName: allows you to set a host name which is sent back to clients for
# your server if it's different than the one the program would get (i.e., use
# "www" instead of the host's real name).
#
# Note: You cannot just invent host names and hope they work. The name you
# define here must be a valid DNS name for your host. If you don't understand
# this, ask your network administrator.
# If your host doesn't have a registered DNS name, enter its IP address here.
# You will have to access it by its address (e.g., http://123.45.67.89/)
# anyway, and this will make redirections work in a sensible way.
#
#ServerName localhost
(ou peut-être les Virtual Hosts)
Fred
Reply to: