简体   繁体   English

在IIS7上使用“代理”访问Internet的系统上设置站点

[英]Setting up sites in IIS7 on System that uses “Proxy” to get to Internet

I have configured two websites on IIS7 on system that does not uses proxy. 我在不使用代理的系统上的IIS7上配置了两个网站。 Everything works fine. 一切正常。

I used the same procedures on a different system that uses a Proxy Server (DNS:172.16.0.1). 我在使用代理服务器(DNS:172.16.0.1)的不同系统上使用了相同的过程。 There problem here is as soon as I setup Binding on the website(Like dev.mysite.com), everything breaks. 这里的问题是,一旦我在网站上设置绑定(如dev.mysite.com),一切就会中断。 Even the localhost does not show II7 home page. 甚至localhost也不会显示II7主页。 When I remove it the local host works fine but my sites do not work. 当我删除它时,本地主机可以正常工作,但是我的站点无法正常工作。

I tried to add exemptions for my local sites in Internet Explorer > Tools > Connection > Lan Setting > Advance but that did not solve the problem. 我试图在Internet Explorer>工具>连接>局域网设置>高级中为本地站点添加免税项目,但这并不能解决问题。

Can someone enlighten me where could be the problem. 有人可以启发我哪里可能出问题了。 Basically the site work if I do not use Proxy Server (no extra software, simply DNS of our Server and dedicated IP Address) but with DNS setting (and configuring Gateway), my sites breaks. 基本上,如果我不使用代理服务器(没有额外的软件,只是我们服务器的DNS和专用IP地址)但使用DNS设置(和配置网关),则站点将无法正常运行。 Any help will be appreciated. 任何帮助将不胜感激。

Figured it out. 弄清楚了。 I had to add "Do not Use Proxy" for my local sites in FireFox. 我必须在FireFox中为本地站点添加“请勿使用代理”。 Go to Menu, 转到菜单,

Tools  > Options > Advanced > Network Tab > Connection Setting.

Then enter you local domains separated by commas in the area "No Proxy for". 然后在“无代理”区域中输入您用逗号分隔的本地域。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM