开发者

Subdomains and webmin - Debian linux

开发者 https://www.devze.com 2023-02-10 10:26 出处:网络
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?

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 u开发者_Go百科p language via its code in subdomain - for example en.example.com and so on.

Thanks


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号