Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9
  1. #1
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts

    xxx.mydomain.com, with IIS how do I make those?

    I want to make in IIS, add a header in before my domain in so that it can be a different site.

    So how do I get IIS to make something as: http://site2.localhost

    actually work and redirect to a different directory than the main site?
    Last edited by oracleguy; 06-26-2002 at 09:49 PM.
    OracleGuy

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What Dave said is true, the part he didn't know is really very simple.

    Using the IIS Administrator via the MMC you add a new web site to IIS and when it asks for a "Host Header" you add site2.localhost in that field (do not prefix it with http://)

    Later you can find the host header field under the "Advanced" properties of the IP Address field.

  • #3
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    One thing I haven't been able to find tho, is in IIS4 you can create additional websites from the MMC console but in IIS5 I haven't been able to find where to. I know how to create VDs but I can find where to create new sites.

    Anyone know?
    OracleGuy

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Right-click on the tree at the level above the default site, one of the options is to create a new site.

  • #5
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    The only options under 'All tasks' is to check server extentions... Hmmm... would it matter that I'm running IIS5 on Win2k Pro?
    OracleGuy

  • #6
    Senior Coder Morgoth's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada Remaining Brain Cells: 6
    Posts
    1,402
    Thanks
    2
    Thanked 1 Time in 1 Post
    I am running the same thing, and I can't do it either.
    When I click on the label that is named after my computer name, and go to "All Tasks", there is only "Upgrade Extensions". When I click on that botton, it says, in a popup window, 'There is no web named "".'

    I guess it doesn't want me to upgrade?

  • #7
    Regular Coder
    Join Date
    Jun 2002
    Posts
    185
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You can't have multiple sites under IIS in Win2K Pro, you need Win2K Server. It's just like PWS vs. IIS on WinNT. Guess Microsoft needs more money.

  • #8
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    Yeah I figured that out. So I bought a copy of Win2k Server and built a computer to use it on.

  • #9
    Senior Coder Morgoth's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada Remaining Brain Cells: 6
    Posts
    1,402
    Thanks
    2
    Thanked 1 Time in 1 Post
    That's just a bunch of hobdoble.

    Anyways, I don't really need it. It's just nice to know if I could ever use it.

    I think I am acting funny with my server. I want all the features i can get, but I really don't need them.

    Like a pop3 server... No need for e-mail to be sent back. I just need to send it. I just want it.

    Same with this... I just want it... For no real reason! STOP ME BEFORE I BUY A SERVER TOWER.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •