httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hajo Locke <>
Subject [users@httpd] apache 2.4 wildcardsubdomains
Date Tue, 13 Sep 2016 09:36:12 GMT
Hello List,

in apache 2.2 we had a typical vhost like this to realize 

<VirtualHost *:80>
ServerName *
ServerAlias *
DocumentRoot /var/www/wildcardexample/public_html

In apache 2.4 wildcards are not allowed in servername. Is it ok to just 
comment out servername and run this vhost only with "ServerAlias 
It seems that servername is not a mandatory directive, apache 2.4 is 
starting without problems.
Or is there an better way to realize?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message