Subdomain wildcard

#1
Hello,

How can I configure the listener to listen on all the subdomains of a domain. I'm still running other domains on the same IP, so I don't want it to handle all the unknown domains.

I tried putting in *.domain.com into the listener but it's not working.

Any suggestions?

Thanks.
 

felosi

Well-Known Member
#2
so you are not using apache config?

You also have to add this to dns, an a entry for *
And server alias in whatever config you are using to *.site.com
 
#3
so you are not using apache config?

You also have to add this to dns, an a entry for *
And server alias in whatever config you are using to *.site.com
Nope, I'm not using an Apache config. I'm configuring VirtualHosts right from the webserver interface.

My DNS is already correctly setup to handle wildcards. The problem is that when it gets to the webserver, it does not properly get routed to the right virtualhost.

I've tried using *.domain.com for the server name of the virtual host and it DID forward all subdomains to the right virtual host, except "www." and the root. So that didn't work. Unless it's some kind of bug.
 
Top