Connecting Tech Pros Worldwide Help | Site Map

How to use IIS Default web site

Newbie
 
Join Date: Aug 2007
Posts: 21
#1: Apr 25 '08
hello every1....
I want to know that how to run website directly in the internet explorer....
means normaly we starat VS2005 then our website...
the using F5 we run it.......
but I want to know that how to run it directly in internet explorer without starting VS2005...
pls help me
And how to use IIS in this case and what is role ,need and iportanse of IIS in it?????????
pls pls help me.and guide me..........
DrBunchman's Avatar
Moderator
 
Join Date: Jan 2008
Location: Winchester, UK
Posts: 930
#2: Apr 25 '08

re: How to use IIS Default web site


Hi praveenkhade,

The IIS is basically the layer that sits between your web pages and your users. It manages, amongst other things, the connections to and security settings of your websites.

There are a few steps you need to take to browse a website through your IIS.
  1. Have you got IIS installed? You need to add it through the windows Add/Remove Programs - Add/Remove Components section of control panel. A guide to doing so is here.
  2. Now run the IIS console. Click Start, Run, type inetmgr & hit enter.
  3. Next up create your website in the IIS: click on Web Sites then right click on the default website and select new virtual directory. Enter the name and location of your website using the wizard.
  4. Open your browser and enter the address of your website - it will be <name or ip of IIS server>/<name of website>
Hopefully that should get you browsing your pages.

Let me know how you get on,

Dr B
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,066
#3: Apr 25 '08

re: How to use IIS Default web site


Quote:

Originally Posted by praveenkhade

hello every1....
I want to know that how to run website directly in the internet explorer....
means normaly we starat VS2005 then our website...
the using F5 we run it.......
but I want to know that how to run it directly in internet explorer without starting VS2005...
pls help me
And how to use IIS in this case and what is role ,need and iportanse of IIS in it?????????
pls pls help me.and guide me..........

DrBunchman's reply was great.

Once you have your IIS set up you can use Visual Studio 2005's publish feature to publish your website to the web server.

We need to know if you have IIS installed, and what version of IIS you're running so that we can help you further.

I've moved this thread to the IIS forum.

-Frinny
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,148
#4: Apr 25 '08

re: How to use IIS Default web site


*scratches head*
By default when making a web-based project I have to pick where I want it on my local IIS (VS2005).
So it's already there and can be run from a browser at anytime?

Quote:

Originally Posted by vs2005

------ Build started: Project: http://localhost/testdb/, Configuration: Debug .NET ------

Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,066
#5: Apr 25 '08

re: How to use IIS Default web site


Quote:

Originally Posted by Plater

*scratches head*
By default when making a web-based project I have to pick where I want it on my local IIS (VS2005).
So it's already there and can be run from a browser at anytime?

That's weird, I don't think that I ever had to do that with 2005. VS2005 comes with that built in Dev environment and doesn't require IIS in order to develop web apps.....why would it make you pick an IIS?
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,148
#6: Apr 25 '08

re: How to use IIS Default web site


I thought visual WEB developer came with that little built-in doodad, vs2005 wanted IIS
DrBunchman's Avatar
Moderator
 
Join Date: Jan 2008
Location: Winchester, UK
Posts: 930
#7: Apr 25 '08

re: How to use IIS Default web site


Quote:

Originally Posted by Plater

I thought visual WEB developer came with that little built-in doodad, vs2005 wanted IIS

I've never had to do that in VS2005 either....different versions maybe?
Plater's Avatar
Moderator
 
Join Date: Apr 2007
Location: New England
Posts: 7,148
#8: Apr 25 '08

re: How to use IIS Default web site


So when you say "new website" you don't get this dialog box?
Attached Thumbnails
newwebsite.jpg  
DrBunchman's Avatar
Moderator
 
Join Date: Jan 2008
Location: Winchester, UK
Posts: 930
#9: Apr 28 '08

re: How to use IIS Default web site


Yes I do but the location box defaults to File System which is where I store it.

I've never tried setting the location as HTTP (in fact I've never noticed it before)
Reply