I need to install a website locally for use only locally. I have Windows 7 and IIS version 7.5 installed and working. I get a page when I browse to localhost and I have a few pages linked to my home page.
I am confused about what a website is. For me, a website is whatever is at a domain. So in other words c-sharpcorner.com is a website.
But here is where I am confused. The software I am installing is a website and my understanding is that there can be multiple websites in an instance of IIS. That is confusing. Apparently I need to put the software in a directory somewhere and then create a virtual directory and a website. Something that is really unclear to me is how that relates to a specific URL.
One thing I can ask that is specific is, assuming I specify in IIS that my website is named testsite, how does that relate to what I put in the address bar of a browser? How do I browse to that website?

Sam HobbsPosted Nov 23, 2014, 12:14 PM
Thank you Anupam. Note that I did say "for use only locally".
My question is specific to IIS.
Anupam SinghPosted Nov 23, 2014, 2:21 AM
If I understand it correct,
actually there are two situation 1. you want to browse it in your local system, 2. you want to access it globally.
In first case when we create virtual directory and create a website it map it to localhost which is basically has the ip: 127.0.0.1 .
But if you want to access it globally, you must have a public ip on hosting computer. If you have public ip in your machine , now when you create a website IIS has an option named "all unassigned" this is basically maps to 127.0.0.1. And then you can access it from anywhere. just by using public IP.
You can also specify port no. , which will be 80 by default.
Apart from this if you are looking for name based access of your website(which you will probably need ) you can purchase a domain name which basically map name to your ip using DNS services.
This will be helpful : http://computer.howstuffworks.com/dns.htm