S
SergheiH
Guest
Hi
I have 5 subdomains for my main domain.
The 3rd subdomain I've created to serve as a catch all subdomain.
Of course I've added in it's "vhost.conf" file the "ServerAlias *.domain.com" line and I read the KB from here: http://kb.odin.com/en/2239 .
But when I've added two more subdomains the catch all subdomain was catchig them also, even if my "catch all" subdomain name starts with last letter from alphabet "zz-wildcard".
This is happening because the rules in the "httpd.include" file are ordered by date of adding the subdomain and not alphabetical.
Can please someone suggest a solution for this?
Because right now I have only 2 options:
1. editing manually the "httpd.include" file each time I update some subdomain from Plesk, or
2. deleting the subdomain "zz-wildcard" and creating it again
Thanks
I have 5 subdomains for my main domain.
The 3rd subdomain I've created to serve as a catch all subdomain.
Of course I've added in it's "vhost.conf" file the "ServerAlias *.domain.com" line and I read the KB from here: http://kb.odin.com/en/2239 .
But when I've added two more subdomains the catch all subdomain was catchig them also, even if my "catch all" subdomain name starts with last letter from alphabet "zz-wildcard".
This is happening because the rules in the "httpd.include" file are ordered by date of adding the subdomain and not alphabetical.
Can please someone suggest a solution for this?
Because right now I have only 2 options:
1. editing manually the "httpd.include" file each time I update some subdomain from Plesk, or
2. deleting the subdomain "zz-wildcard" and creating it again
Thanks
Last edited by a moderator: