You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ruler <ru...@isolate.net> on 2002/03/02 04:02:22 UTC

Wildcard Subdomains

Hi,

I have wildcard DNS, ie *.domain.com points to an IP.  I want apache to do
the same thing, if
user.domain.com was typed in, it would look for /home/www/domain.com/user
or temp.domain.com it would look for /home/www/domain.com/temp.

Keep in mind I don't want to create a million apache entries, I hope to put
just one. :)

Is it possible to do this?  I have searched through the archives of this
list but didn't find much.

Thank you,
Mike


---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


Re: Wildcard Subdomains

Posted by Joshua Slive <jo...@slive.ca>.
On Fri, 1 Mar 2002, ruler wrote:

> Hi,
>
> I have wildcard DNS, ie *.domain.com points to an IP.  I want apache to do
> the same thing, if
> user.domain.com was typed in, it would look for /home/www/domain.com/user
> or temp.domain.com it would look for /home/www/domain.com/temp.
>
> Keep in mind I don't want to create a million apache entries, I hope to put
> just one. :)
>

See:
http://httpd.apache.org/docs/vhosts/mass.html
which addresses this exact issue.

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
For additional commands, e-mail: users-help@httpd.apache.org


Re: Wildcard Subdomains

Posted by ruler <ru...@isolate.net>.
I don't know what I'd put for DocumentRoot, and I guess I'd put *.domain.com
for servername.

Mike
----- Original Message -----
From: "Admin" <ko...@naisp.net>
To: <us...@httpd.apache.org>
Sent: Friday, March 01, 2002 11:30 PM
Subject: RE: Wildcard Subdomains


> why don't you just try it...
> emmmm, interesting...might try that myself...
>
> -----Original Message-----
> From: ruler [mailto:ruler@isolate.net]
> Sent: Friday, March 01, 2002 10:02 PM
> To: users@httpd.apache.org
> Subject: Wildcard Subdomains
>
>
> Hi,
>
> I have wildcard DNS, ie *.domain.com points to an IP.  I want apache to do
> the same thing, if
> user.domain.com was typed in, it would look for /home/www/domain.com/user
> or temp.domain.com it would look for /home/www/domain.com/temp.
>
> Keep in mind I don't want to create a million apache entries, I hope to
put
> just one. :)
>
> Is it possible to do this?  I have searched through the archives of this
> list but didn't find much.
>
> Thank you,
> Mike
>
>
> ---------------------------------------------------------------------
> 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
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
> ---------------------------------------------------------------------
> 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
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


RE: Wildcard Subdomains

Posted by Admin <ko...@naisp.net>.
why don't you just try it...
emmmm, interesting...might try that myself...

-----Original Message-----
From: ruler [mailto:ruler@isolate.net]
Sent: Friday, March 01, 2002 10:02 PM
To: users@httpd.apache.org
Subject: Wildcard Subdomains


Hi,

I have wildcard DNS, ie *.domain.com points to an IP.  I want apache to do
the same thing, if
user.domain.com was typed in, it would look for /home/www/domain.com/user
or temp.domain.com it would look for /home/www/domain.com/temp.

Keep in mind I don't want to create a million apache entries, I hope to put
just one. :)

Is it possible to do this?  I have searched through the archives of this
list but didn't find much.

Thank you,
Mike


---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org