You can be able to use IIS for creating and hosting website into your local machine.
You can use command like
1) click on Run-> type inetmgr -> Click on Sites->click on Add Sites-> and give any name.
15 Million Students Helped!
Sign up to view the full answer