Subdomains and webmin - Debian linux

1.9k Views Asked by At

I have dedicated server with webmin interface. I need this settings - i want to all subdomains of .example.com will be server from one Document Root. How can i achieve that? So if i type xxx.example.com and fff.example.com - site will be exactly same. I have script which sets up language via its code in subdomain - for example en.example.com and so on.

Thanks

1

There are 1 best solutions below

2
On

If you're using apache, you may use

ServerAlias domain.org *.domain.org

Please note that you probably need a wildcard entry in your DNS-record.

regards, /t