user532104
user532104

Reputation: 1423

How do i configure IIS7 for a website rather than a web application to be viewed through localhost?

I want to view my "website" through localhost. I dont want to click on the play button in Visual Studios. I know with "web application", i would need to place the published files into a particular directory ( normally C:\inetpub\wwwroot\ ) and then view the application through Localhost.

However, i believe this would be different for "websites". How is this done?

Upvotes: 0

Views: 472

Answers (1)

keithn
keithn

Reputation: 46

Just like a web application, you can put your website in a folder under c:\inetpub\wwwroot\, and browse to your site's URL. (For example, //localhost/mysite)

You could also open IIS Manager, right-click your website folder, select "Manage Application", and then click "Browse". You website will open in your default browser.

Upvotes: 3

Related Questions