Watje6
Verified User
I have a little problem with ServerAlias. I will put as much info here that I have, so I hope you can help me the best way
I have a domain watjes.info and I use 2 subdomains.
1st VirtualHost is www.watjes.info
2nd VirtualHost is je.naam.watjes.info
3rd VirtualHost watje6.watjes.info
The thing that I want is to get a ServerAlias *.watjes.info at the 2nd VirtualHost (je.naam.watjes.info).
When I open Customize Httpd Configurations (as admin) I can only add a line at the 1st VirtualHost.
So my first problem is that I can't add a custom ServerAlias at the 2nd Virtual Host.
Posslible solution would be to manualy edit the httpd.conf by ssh.
Well I did that, the 3rd VirtualHost didn't work because of the ServerAlias *.watjes.info at the 2nd VirtualHost. (apache doesn't see the ServerAlias watje6.watjes.info because the ServerAlias *.watjes.info is higher in the httpd.conf).
So I manualy edit it to this:
1st VirtualHost is www.watjes.info
2nd VirtualHost watje6.watjes.info
3rd VirtualHost is je.naam.watjes.info (with ServerAlias *.watjes.info)
The next day DA rewritten the httpd.conf to the original situation so it doesn't work anymore
I Hope someone can help me
I have a domain watjes.info and I use 2 subdomains.
1st VirtualHost is www.watjes.info
2nd VirtualHost is je.naam.watjes.info
3rd VirtualHost watje6.watjes.info
The thing that I want is to get a ServerAlias *.watjes.info at the 2nd VirtualHost (je.naam.watjes.info).
When I open Customize Httpd Configurations (as admin) I can only add a line at the 1st VirtualHost.
So my first problem is that I can't add a custom ServerAlias at the 2nd Virtual Host.
Posslible solution would be to manualy edit the httpd.conf by ssh.
Well I did that, the 3rd VirtualHost didn't work because of the ServerAlias *.watjes.info at the 2nd VirtualHost. (apache doesn't see the ServerAlias watje6.watjes.info because the ServerAlias *.watjes.info is higher in the httpd.conf).
So I manualy edit it to this:
1st VirtualHost is www.watjes.info
2nd VirtualHost watje6.watjes.info
3rd VirtualHost is je.naam.watjes.info (with ServerAlias *.watjes.info)
The next day DA rewritten the httpd.conf to the original situation so it doesn't work anymore
I Hope someone can help me