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
Sites -开发者_如何学Go> Add web Sites -> SiteName ->TestApp -->Choose the TestApp Application Pool
Select the Physical Path
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
精彩评论