Discussion: VirtualHost issu
Afficher un message
Vieux 01/02/2007, 11h47   #5
shimmyshack
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: VirtualHost issu

On 1 Feb, 10:25, Davide Bianchi <davideyeahs...@onlyforfun.net> wrote:
> On 2007-02-01, schneider <schneider.je...@free.fr> wrote:
>
> > I use the DNS of my registrar to point to the IP of my server.

>
> Hummm... then you should have a FQDN defined in the Virtual Host, not
> just a 'name' like you reported.
>
> > I haven't try to ping 'chemical-sourcing.com' and as my server if
> > off I can't do the test now.

>
> That's the first test to do, if you can't ping the server then there
> is something wrong either with the name resolution or with the way
> the networking is configured.
>
> > OK, that what I suspected. How can I know how the request is send and
> > Apache VirtualHost configured (I am running under Win2000) ?

>
> The request is sent using your browser and the FQDN name you put in the
> address bar. You haven't answered my original question: how do you
> request the site.
>
> Davide
>
> --
> Microsoft should switch to the vacuum cleaner business where people
> actually want products that suck.
> -- Bruno Bratti


I would add a hosts entry for all non-FQDN's (if you and your server
are on the same LAN) and
add another virtualhost to act as a default, so that if someone
accesses your server without using either phpmyadmin or chemical-
sourcing.com they dont see either site, you might not wish people to
default to a known site.
(make sure you haved banned everyone apart from you access to
phpmyadmin as well)

  Réponse avec citation
 
Page generated in 0,04980 seconds with 9 queries