How to use IIS Default web site

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • praveenkhade
    New Member
    • Aug 2007
    • 21

    How to use IIS Default web site

    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
    Recognized Expert Contributor
    • Jan 2008
    • 979

    #2
    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

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      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

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        *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?

        Originally posted by vs2005
        ------ Build started: Project: http://localhost/testdb/, Configuration: Debug .NET ------

        Comment

        • Frinavale
          Recognized Expert Expert
          • Oct 2006
          • 9749

          #5
          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?

          Comment

          • Plater
            Recognized Expert Expert
            • Apr 2007
            • 7872

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

            Comment

            • DrBunchman
              Recognized Expert Contributor
              • Jan 2008
              • 979

              #7
              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....diffe rent versions maybe?

              Comment

              • Plater
                Recognized Expert Expert
                • Apr 2007
                • 7872

                #8
                So when you say "new website" you don't get this dialog box?
                Attached Files

                Comment

                • DrBunchman
                  Recognized Expert Contributor
                  • Jan 2008
                  • 979

                  #9
                  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)

                  Comment

                  Working...