httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] Getting Started With Virtual Hosts
Date Thu, 15 Jan 2004 16:42:09 GMT
On Thu, 15 Jan 2004, David Blomstrom wrote:
> <VirtualHost *:80>
>   DocumentRoot C:/sites/geobop
>   ServerName geobop
> </VirtualHost>
>
> And can I just choose anything for a server name? Or
> would I just localhost as the servername for all the
> websites on my computer?

The ServerName is what apache uses to choose the site to serve.  It must
EXACTLY match what you type into the URL bar of your web browser (which
must, in turn, be mapped to your webserver through DNS or other means).

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message