UCenter Home 是一套康盛创想构建的社会化网络软件。
uchome域名为home.c1gstudio.com,其实应该算是开启三级域名了
1.在域名控制台增加a记录
*.home.c1gstudio.com ->ip
2.nginx server_name增加泛解析
nginx.conf
server_name home.c1gstudio.com *.home.c1gstudio.com;
检查配置文件语法
/opt/nginx/sbin/nginx -t
然后重启(lemp是自已写的控制脚本)
/opt/lemp reloadnginx
3.uchome后台开启二级域名功能
二级域名根域名里写”home.c1gstudio.com”
缓存更新
在个人用户里设置二级域名,过一会就可以访问了。
如:abc.home.c1gstudio.com会跳转到home.c1gstudio.com/space.php?domain=abc
参考:http://wiki.nginx.org/NginxChsHttpCoreModule
No Responses (yet)
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.