net IIS 7.5站点绑定。

时间:2021-04-29 03:32:30

i have an asp.net web page that is deployed to IIS 7.5 on my home computer. when i type in

我有一个asp.net网页,它被部署到我的家用电脑上的IIS 7.5。当我输入

http://192.168.1.11

into my browser it works fine. i would like to be able to type in the pc name as this would be simpler. i.e simply type in

在我的浏览器中,它运行良好。我希望能够输入pc的名字,因为这样会更简单。我。e简单类型

http://computername

. this does not work though. below are my binding settings which i am guessing is where the configuration problem is. What should my settings be? thanks damo

。但这并不起作用。下面是我的绑定设置,我猜测是配置问题所在。我的设置应该是什么?由于孩子的呼唤

net IIS 7.5站点绑定。

1 个解决方案

#1


1  

Open the hosts file from C:\Windows\System32\drivers\etc folder and add an entry like below

打开主机文件,从c:) windowssystem32driversetc文件夹,并添加如下条目。

192.168.1.11 computername

#1


1  

Open the hosts file from C:\Windows\System32\drivers\etc folder and add an entry like below

打开主机文件,从c:) windowssystem32driversetc文件夹,并添加如下条目。

192.168.1.11 computername