apache2 - pointing multiple subdomains using wildcards to a folder -


I want to use wildcards to send requests to any sobdomains in the folder of the domain. Apache2 using virtual host settings The domain and its subdomain uses the same IP address. Subdomains can not be preset because they are created by users.

Thanks

About this configuration

  & lt; VirtualHost * .domain.com: 80 & gt; ServerAdmin admin@domain.com DocumentRoot / var / www / domain serverName domain.com server aligned domain. Com * .domain.com & lt; / VirtualHost & gt;  

Comments