`
renzhelife
  • 浏览: 669938 次
文章分类
社区版块
存档分类
最新评论

Create Virtual Host in IIS 7

阅读更多

1. Add your ideal host name in your local machine

GO to C:\Windows\System32\drivers\etc

Modify your "hosts" file as administrator

Add your mapping line with your virtual host and your machine IP

ex : 10.20.12.102 local.test.jiangong.com


2. Create a new website in IIS7




3. Modify your project property in Visual studio

Click "Web" tab, then "Use Custom Web Server", and type your hostname in "Server Url"


Now, you can browse your web site in your IIS7

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics