开发者

Issue with Deploying an app in IIS 7.5

I am trying to deploy an app on IIS7.0

I developed the app in 4.0 (Just a web app not MVC or anything)

These are the steps I followed


1.Select Application pools -> Create New ->TestApp--> Select the framework version to 4.0

  1. Sites -开发者_如何学Go> Add web Sites -> SiteName ->TestApp -->Choose the TestApp Application Pool

  2. Select the Physical Path

  3. If I leave the Host Name Empty and click on Ok

when I go to the website and manage application ->Browse I am seeing the App as localhost (Very Well)

But When I enter the host name as Testapp.Domainname.com It is not working what am I doing wrong??


You need to have that domain configured in DNS server you're using. If you want to have the app accessible under this URL from the internet, you need to go to one of the domains resellers, buy the domain name and configure it to point to your IIS server.

For development, you probably want to set up DNS name locally, for your machine only - you have to specify this domain name in your hosts file than:

127.0.0.1  testapp.domainname.com
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜