Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. SysAdmin
  4. using IIS to point to a different site

using IIS to point to a different site

Scheduled Pinned Locked Moved SysAdmin
questioncomsysadminwindows-admin
3 Posts 3 Posters 34 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mrhsean
    wrote on last edited by
    #1

    I'm using IIS for my server. I have a domain and I am able to add anything to the front of my domain like this: http://anything.mydomain.com/ How can I get IIS to recognize the "anything" and point to this specific site? Thanks!

    W A 2 Replies Last reply
    0
    • M mrhsean

      I'm using IIS for my server. I have a domain and I am able to add anything to the front of my domain like this: http://anything.mydomain.com/ How can I get IIS to recognize the "anything" and point to this specific site? Thanks!

      W Offline
      W Offline
      Wanderley M
      wrote on last edited by
      #2

      Hi 1. Create an entry for "anything" in your DNS server 2. Go to IIS service manager 3. Click on Advanced (on the right of IP Address) 4. Add a new Host Header Name - IP Address: , TCP Port: 80, Host Header Name: anything.mydomain.com HTH :) Wanderley

      1 Reply Last reply
      0
      • M mrhsean

        I'm using IIS for my server. I have a domain and I am able to add anything to the front of my domain like this: http://anything.mydomain.com/ How can I get IIS to recognize the "anything" and point to this specific site? Thanks!

        A Offline
        A Offline
        Anders Molin
        wrote on last edited by
        #3

        Does you want different web's for www.mydomain.com and anything.mydomain.com, but on the same ip-address? Then just read on... I don't have an IIS server installed on this machine, so I can't see the exact names of the menus and dialogs, but I hope you can understand what I mean. Just create 2 websites, on the server, that uses the same ip-address. Then in the properties for each website, you can add what "name" this site should respond to. In the one you write www.mydomain.com, and in the other website-properties you write anything.mydomain.com. That way the website only responds when a user ask for the domain it's configured for, and you can have several websites that shares a single ip-address... Hope it helps... - Anders Money talks, but all mine ever says is "Goodbye!"

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups