Tags

 

Launch Server Manager

image

On the dashboard, click Add roles and features; the second option on the image above. It will launch the “Add Roles and Feature wizard” as seen below.  Click Next to bring up “Installation type” wizard page as seen in the second screen shot and click next again to bring up “Server selection” wizard page.

image image

On the “Server selection” wizard page, select the server on which to install the roles/and features and then click next.

image

 

On the “Server Roles” wizard page, make sure the “Application server roles ” is selected.  if you expand “Application server roles” node, you will also have the option to enable port sharing, which is a nice feature to have if you plan on hosting WCF services that will be listening on port 80.

image

On the same wizard page, also select the “Web server (IIS)” role. expand its descendant nodes and make sure they’re configured similarly as below.

image

 

Click next until the install option becomes available and then click install.  After installation, launch IIS manager for the Server Manager’s Tools menu options.  Right click “Sites” nodes and create a new Web site.  Give it a site name and a host name. We will configure the host file under C:/windows/system32/drivers/etc to redirect all request for the provided host name to be redirected to the site being configured.  But first we’ll configure the site application pool.

image

Select your site application pool as seen below.  in this instance,  the application pool name for the site “voisinage”, defaulted to using the same name as the site.

image

double click it and make sure the Net framework being used is the latest and the managed pipeline mode is set to “Integrated”.

 

image

 

Lastly,  open up the host file and bind your site host name to the local loop.

image

image

The only thing left to do now is create your ASP.NET MVC project and updated your IIS site physical path to point to it.  Inside your project property windows, bring up the web property page and make sure “Use local IIS web server” is selected.

Advertisements