用finecms设置了多网站
主站绑定域名:1.1.1.1:803
新建一个网站继承主站,绑定域名为:1.1.1.1:804
问题是: 无论访问803还是804,前台显示的内容都是主站的。 试问如何解决?
GA内网IP紧张,只能用端口
Finecms用同一个IP不同端口设置多网站的问题
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
3条回答
- tony4geek 2016-01-25 01:51关注
nginx 不同端口转发 参考, 利用nginx 这类的代理软件就可以
server {
listen 80;
server_name www.google;location / {
root /www;
index index.html index.htm;
}
}server {
listen 8080;
server_name www.google;location / {
root /www/new;
index index.html index.htm index.php;
#autoindex on;
#autoindex_exact_size off;
#autoindex_localtime on;
}本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报