Iis

How to create logging and connect locally hosted website to database?

This post is a continuation of my previous post.Here we will see how we can create a login and connect your web application to the database. In real life scenarios when we are hosting the website on the IIS and we also have the application pointing to a database then we need to have proper logging and proper permissions set up.If not then we will get a yellow screen saying…

How to host a website on local IIS?

Prerequisites You already have installed IIS on your system.If IIS is not installed then go to Control Panel -> Programs and features -> Turn on windows features on or off Steps Add a new MVC Web application.Here I have added it to the path E:\ Open the IIS by pressing Windows+R and then type inetmgr. Right click on folder Sites and click Add Website Enter the site name as you want and the host name as per your requirement.