1
vote
2answers
62 views

Apache vhost configuration for ServerAlias getting default

Given this configuration: NameVirtualHost *:80 Listen 80 <VirtualHost *:80> ServerName default.example.com </VirtualHost> <VirtualHost *:80> ServerName ...
2
votes
4answers
619 views

Managing lots of Apache vhost ServerAliases

So I've got this site that's being served as a virtual host by Apache 2. And it has a metric ton of alternative domain names that are all supposed to resolve to it. Up to now I've handled things like ...
0
votes
1answer
131 views

ServerAlias Exceptions

I am looking for a special configuration for Apache (and eventually NGinx) to allow to map all but one host as a ServerAlias to a specific VHost configuration. For example, my current setting is: ...
0
votes
1answer
142 views

Alternative to editing httpd-vhosts.conf for ServerAliases on shared hosting?

greetings. i need to set up some ServerAlias records so multiple domains can be mapped to the same application folder however with this shared server i don't have access to the httpd-vhosts.conf file. ...
2
votes
1answer
2k views

Server Alias With wildcard subdomain

So i am using WordPress network sub-domain setup. I had to put a *.mydomain.com as a server alias but now i also have a site subdomain.mydomain.com that leads to another directory. Is there a way of ...
1
vote
2answers
924 views

Apache2 ignores ServerAlias

the www versions of all my sites work. the non-www version don't work. All non-www versions go to my default vhost (galengrover.com) Here are the first 2 virtual hosts in httpd.conf. ServerName ...