You are right, in my httpd.conf the ServerName directive is commented. Should I set it to scarlet.poglianis.net?
I tried, before the previous mail, to set it to www.usdivonne.org, in order to "force it" to consider www.usdivonne.org as the default name.... I was unlucky. Still, when I accessed via www.usdivonne.org it actually went to test.usdivonne.org So, your last suggestion is to create an EXPLICIT www.usdivonne.org a a virtual server? If I am going to do it, should I still keep commented the ServerName directive ? /stefano Todd Lyons wrote: >Stefano Pogliani wrote on Fri, Oct 04, 2002 at 11:20:35PM +0200 : > > >>################# Named VirtualHosts >>NameVirtualHost 192.168.1.33 >><VirtualHost 192.168.1.33> >>ServerName test.usdivonne.name >>DocumentRoot /var/www/test_system/ >></VirtualHost> >> >><VirtualHost 192.168.1.33> >>ServerName scarlet.poglianis.net >>DocumentRoot /var/www/scarlet/ >></VirtualHost> >> >> > >If everything is dropping to the last one (except for access by >localhost), then I would try adding something. I suspect that in your >/etc/httpd/conf/httpd.conf, you have a ServerName line that is commented >out. I would set that manually, restart apache, and then see if it >works the same. I suspect that won't fix it though. > >I had a machine that did the same thing (your email jarred my memory) >and i fixed it by adding the main hostname as a virtual host entry in >the vhosts file. > >Blue skies... Todd > >
smime.p7s
Description: S/MIME Cryptographic Signature