I have a requirement to have a dynamic double subdomain point to a DNN portal using a single subdomain wildcard portal alias. The subdomains are dynamic vapour. That is, I want the web user to be able to access my portal using one of the following URLs without actually having to create an alias for the base subdomain name:-
mystore1.domainname.com or www.mystore1.domainname.com
or
anotherstore.domainname.com or www.anotherstore.domainname.com
Now I have the mystore1.domainname.com and anotherstore.domainname.com working just fine by configuring a single portal alias: domainname.com. DNN interprets this as all subdmains of domainname.com point to this portal. Because my DNS A-record directs all subdomain wildcards for this domain to the fixed IP, and IIS passes all headers to the DNN portal, it works perfectly. All great - a single SSL certificate is all that is required since the site runs in the same domain for all subdomains due to URL rewriting. That is, once you connect to the site using mystore1.domainname.com, this URL becomes simply domainname.com, as does anotherstore.domainname.com becoming just domainname.com (the alias name) which is wonderful.
Then one of my store owners forgot to leave out the www prefix and told all his customers is URL was www.mystore1.domainname.com. ARRRHH. The URL doesn't resolve because it appears as if DNN only does subdomain wildcards one level deep. If I add a second portal alias entry as mystore1.domainname.com, it works, but then the SSL certificate is invalid as this is a different subdomain. The only solution without proper portal alias wildcard support is to purchase a wildcard SSL certificate which will cost a small fortune.
So the BIG question is, does anyone of there ever managed to get DNN portal alias to work so that a single alias on the base domain name will work, not matter how many subdomain prefixes are used. That is, all of the following URLs should resolve to the the same portal using the portal alias domainname.com:-
domainname.com
mystore1.domainname.com
www.mystore1.domainname.com
anotherstore.domainname.com
www.anotherstore,domainname.com