subdomain für alle

Apache, Lighttpd, nginx, Cherokee
Post Reply
User avatar
twilo
Posts: 18
Joined: 2004-03-06 15:43
 

subdomain für alle

Post by twilo »

wie kann ich z.b.

phpmyadmin.domain1.de
phpmyadmin.domain2.de
phpmyadmin.domain3.de
phpmyadmin.domain4.de
phpmyadmin.domain5.de

einrichten?
es soll halt für jede Domain die Subdomain phpmyadmin zur Verfügung stehen

wie man ein Ordner für alle einrichtet habe ich unter
http://httpd.apache.org/docs/mod/mod_alias.html#alias
gesehen, kann man das auch irgendwie mit subdomains machen?
Matthias Diehl
Posts: 315
Joined: 2002-09-24 13:26
 

Re: subdomain für alle

Post by Matthias Diehl »

Das geht ziemlich easy:

In die httpd.conf trägst Du den "normalen" Eintrag ein und fügst dies hinzu:

Code: Select all

 ServerAlias phpmyadmin.*
User avatar
twilo
Posts: 18
Joined: 2004-03-06 15:43
 

Re: subdomain für alle

Post by twilo »

danke das klappt super :-)
Post Reply