Destoon在Apache服务器端绑定泛域名至company目录

(1)
Destoon后台->网站设置–>SEO优化–>公司主页绑定二级域名处填(.cn.service-labs.com)
–>泛解析绑定目录处填(company目录)
(2)
接下来设置apache绑定泛域名,
<VirtualHost *>
ServerAdmin webmaster@service-labs.com
DocumentRoot /usr/local/www/service-labs.com/qiye/company
ServerAlias *.cn.service-labs.com
<Directory /usr/local/www/service-labs.com/qiye/company>
Options All
AllowOverride All
</Directory>
ErrorLog /var/log/http/www.service-labs.com-error_log
CustomLog /var/log/http/www.service-labs.com-access_log common
</VirtualHost>
(3)现在可以通过http://xxxx.cn.service-labs.com来访问destoon的公司网站了!

上一篇: