问答 2015-01-06 来自:开发者社区

nginx怎么设置IP重定向到域名啊

发现百度同时收录了我的站的IP地址和域名,请问怎么设置IP重定向到域名啊,要不有时候百度搜到的,直接从IP进去了 我自己在百度谷歌了一下,用别人的方法试了一下,都不行啊,重启nginx以后chrome显示网页上有重定向循环。附件是我正常的default配置文件:

问答 2014-11-21 来自:开发者社区

nginx下怎么绑定二级域名和文件夹

如题   求助,百度了很久   试了很多方法还是不行。求指导,谢谢!

问答 2014-11-03 来自:开发者社区

nginx单个页面怎么301重定向到二级域名

比如我www域名下面有个页面 域名/a.html。我怎么把这个单独的页面301重定向到二级域名主页上?高手指导下。

问答 2014-10-11 来自:开发者社区

nginx服务器,开了一个二级域名,导致错误,求教!

Warning: require() [function.require]: open_basedir restriction in effect. File(../common.inc.php) is not within the allowed path(s): (/tmp/) in /alidata2/zzyycc/wap/index.php on line 8 Warning: ...

问答 2014-08-30 来自:开发者社区

nginx如何配置二级域名?

大家好,我服务器配置环境为Linux nginx 试用的ecs 及一键环境包安装配置。现在我想配置二级域名指向二级目录。如访问 http://news.woju8.com  指向 http://www.woju8.com/cms ,但是浏览器地址依旧显示地址为 http://news.woju8.com 。请教下该作何配置修改呢?我已经有在阿里云解析设置二级域名解析。

问答 2014-03-04 来自:开发者社区

Nginx绑定多域名

原来有个phpwind 可以通过ip地址访问 后来我准备添加一个网站 在/alidata/server/nginx/conf/vhosts  下建了新的conf      b.conf server {         listen&nbs...

文章 2014-01-22 来自:开发者社区

nginx站点配置之域名301重定向

今天为xiaochunchun做301跳转了,记录一下,方便下次使用: server {         listen       80;         server_name  www.xiaochunchun.com xiaochunchun.com;   &nb...

问答 2013-12-14 来自:开发者社区

求助nginx域名bbs和www访问的问题

bbs.xxx.com是论坛  www.xxx.com 是首页,已经成功解析,并能访问,现在出现的问题是,论坛下的所有页面这两个域名都能访问,后台域名设置那里已经绑定,现在的问题是,怎样才不让2个域名都能访问,www.xxx.com只访问首页,而bbs.xxx.com访问所有的论坛下页面,谢谢系统是阿里云的一键安装包

问答 2013-12-05 来自:开发者社区

关于nginx301域名重定向问题

现在使用的是 if ($host != 'bbs.xxx.com'){        rewrite ^/(.*)$ http://bbs.xxx.com/$1 permanent;}现在的问题是 需要 bbs.xxx.com和 3g.xxx.com 不进行301跳转 其他域名全部进行301跳转 不知道如何修改 使用 ...

问答 2013-11-26 来自:开发者社区

求助nginx做了域名泛解析绑定,怎么做301重定向

nginx做了域名泛解析绑定了company目录,之前做的301重定向失效,请问现在怎么把a.cn定向到 www.a.cn,需要怎么添加,不能和泛解析冲突。

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

产品推荐

{"cardStyle":"productCardStyle","productCode":"domain","productCardInfo":{"productTitle":"域名","productDescription":"提供安全易用的域名查询,注册,管理,交易等服务。提供超过100+后缀域名服务;免费云解析,极速实时生效!超过25年域名服务经验,累计超过4000万个域名在阿里云注册,连续多年市场NO.1","productContentLink":"https://wanwang.aliyun.com/domain/","isDisplayProductIcon":true,"productButton1":{"productButtonText":"域名注册","productButtonLink":"https://wanwang.aliyun.com/domain"},"productButton2":{"productButtonText":"域名交易","productButtonLink":"https://wanwang.aliyun.com/mi"},"productButton3":{"productButtonText":"域名管理","productButtonLink":"https://dc.console.aliyun.com/next/index#/overview"},"productPromotionInfoBlock":[{"$id":"0","productPromotionGroupingTitle":"最新活动","productPromotionInfoFirstText":".com/.cn新客首年0元 ","productPromotionInfoFirstLink":"https://wanwang.aliyun.com/newdomain/1yuan","productPromotionInfoSecondText":".cn批量注册低至20元/个","productPromotionInfoSecondLink":"https://wanwang.aliyun.com/salespromotion/s11hdyr"},{"$id":"1","productPromotionGroupingTitle":"产品入门","productPromotionInfoFirstText":"域名帮助文档","productPromotionInfoFirstLink":"https://help.aliyun.com/zh/dws/","productPromotionInfoSecondText":"域名交易帮助文档","productPromotionInfoSecondLink":"https://help.aliyun.com/zh/dws/user-guide/what-is-domain-name-transaction"},{"$id":"2","productPromotionGroupingTitle":"域名工具","productPromotionInfoFirstText":"域名查询","productPromotionInfoFirstLink":"https://wanwang.aliyun.com/domain/searchresult/","productPromotionInfoSecondText":"智能起名","productPromotionInfoSecondLink":"https://wanwang.aliyun.com/newdomain/check-gpt"},{"$id":"3","productPromotionGroupingTitle":"相关推荐","productPromotionInfoFirstText":"网站搭建首年直降36%","productPromotionInfoFirstLink":"https://wanwang.aliyun.com/webdesign/index","productPromotionInfoSecondText":"百元建站套餐","productPromotionInfoSecondLink":"https://wanwang.aliyun.com/newactivity/qh#J_one"}],"isOfficialLogo":true},"activityCardInfo":{"activityTitle":"","activityDescription":"","cardContentBackgroundMode":"LightMode","activityContentBackgroundImageLink":"","activityCardBottomInfoSelect":"activityPromotionInfoBlock"}}