This is a discussion on Only one subdomain to a virtual host within the Apache Web Server forums, part of the Web Server and Related Forums category; Hello, I've a virtual hosting ServerName example.com ServerAlias *.example.com This is the first virtual hosting, therefor the ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
I've a virtual hosting ServerName example.com ServerAlias *.example.com This is the first virtual hosting, therefor the standard one. But I want to introduce another virtual hosting on a subdomain from example.com, but I still want to keep this v-host as the standard. How can I do that? Thx, Florian -- Abkürzung unbekannt? ++ http://www.xgm.de +++ |
|
|||
|
Florian Lindner <Florian.Lindner@xgm.de> wrote:
> ServerName example.com > ServerAlias *.example.com > How can I do that? In the <VirtualHost > directive add _default_, remove the *.example.com as Alias (otherwise it will catch everything) and add another <VirtualHost> directive _without_ the _default_ option. See the documentation on www.apache.org Davide |