ServerAlias *.|DOMAIN|

c0ld

Verified User
Joined
Feb 4, 2006
Messages
26
Location
Belgium
Hey,

i'm having this weird problem on my new server.
I have a subdomain 'files' and it works great. But if I add 'ServerAlias *.|DOMAIN|' (for wildcard dns) to my httpd configurations, all traffic to files.domain.com is sent to my index while on my other server, everything worked fine.
On the other server, this site is hosted under the admin account, on the new one, it isn't.


Anyone any idea? Maybe some configuration error or..?

BTW: this only occurs if I add 'ServerAlias *.|DOMAIN|'. Adding an A record to my server IP doesn't generate this bug.
 
Last edited:
Ok I got it fixed. I removed the serveralias from my files vhosts and now it works..
 
In which template file you have to set *.|DOMAIN| in order not to mess up your subdomains?
And where exactly?
 
Back
Top