httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Gonzalez <t...@tuxcafe.com>
Subject Re[2]: [users@httpd] User web and other web dirs
Date Tue, 13 Jul 2004 09:45:06 GMT
Hola Joshua,() como anda todo?.

Martes, 13 de Julio de 2004, 03:23:27 a.m., decias algo sobre [users@httpd] User web and other
web dirs:

>>    Is there any way of doing this.

Joshua> Yes.  It's called virtual hosts.  See:
Joshua> http://httpd.apache.org/docs-2.0/vhosts/name-based.html
Joshua> But note you'll need to setup DNS correctly to map ldp.tuxcafe.com to
Joshua> the same place as www.tuxcafe.com before you start configuring apache.

Well  i've done so i created an alias on DNS that maps ldp.tuxcafe.com
to www.tuxcafe.com and set up Apache like this:

<VirtualHost *:80>
        ServerName ldp.tuxcafe.com
        ServerAlias ldp.tuxcafe.com
        DocumentRoot /mirror/ldp
        ErrorLog /var/log/apache/ldp-error_log
        CustomLog /var/log/apache/ldp-access_log common
</VirtualHost>

But  i  still  get www.tuxcafe.com pages and not ldp.tuxcafe.com, am i
doing something wrong?

Joshua> Joshua.

Thanks

-- 
Cordialmente:
David
::: TUXCAFE :::
E-mail:test@tuxcafe.com
DiseƱo Web
Administracion de Redes:
Tel: (571)-565-9995


---------------------------------------------------------------------
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