Tuesday, May 5, 2015

Host Your Asp .Net website or web application In IIS - 6 Steps hosting

Are you looking for the steps to be followed to host your site in IIS? Then this article will surely help you.This article is for basic programmers.

Step 1:
Build and publish your site in visual studio solution explorer. note down the address where you have published your solution.

Step 2:
Open IIS : C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools or %windir%\system32\inetsrv\InetMgr.exe .

Step 3:
Add your site with alias name and destination path.

Step 4:
Go to application pool in IIS change for respective version in which your application is developed in .Net like 2.0 , 3.0 , 3.5 , 4.0 

Step 5:
Go to Control panel -> Programs -> Turn Windows Features On or Off , Select internet information services and world wide web and application development features and select all the check boxes in it.

Step 6:
Go to path C:\Windows\Microsoft.NET\Framework\v4.0.30319\ then add aspnet_regiis.exe -i to register the IIS asp .net , your address should exactly look like this in command prompt C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i .

That's it your site is hosted , let me know if you face any issues.


No comments :

Post a Comment