In this quick post you will learn how to create a new website in local IIS using Visual Studio and access it directly from browser.
writing anything, I will say this is a very simple article for those who don’t
know how to create website in IIS and navigate that website without opening
Visual Studio IDE always. Means just open the browser and navigate that local
websites. Actually such system has very huge advantages if we are working on
intranets (in simple, local internet called intranet). Means if we have dozen
of computers under network and one of the PC has server configuration then such
websites can be available on each PC on network. Many companies has adopted
such service, BSL is one the example who is using such services since decade.
at below, I have opened a ASP.NET website without Visual Studio IDE.
the above browser snap, ‘localhost’ url part may be replaced by computer name
or IP. Look at snap below.
introduction is over now. Let’s configure such system for our website
developments. Follow the steps for the same.
Please be sure of IIS installation.
the Visual Studio IDE as administrator. For this you need to go through the
snap given below.
if IDE is opened then navigate to File > New > Web Site… and then look at
snap below. I just have chooses HTTP as my website root location and then
website name as ‘TestSite’. At the end click on ok button.
you have an IIS (localhost) website that will be accessible from browser
directly. Let’s test this. Open the browser and type
look at my own screen.
hope you will love this.
HAVE A HAPPY CODING!!