Solved

How to route two sites from same IIS

Posted on 2011-09-06
6
487 Views
Last Modified: 2012-05-12
I am a dns noob.

Ok, so I have an IIS server running sharepoint and team foundation server.

We somehow mapped through a forward lookup zone and IIS  portal.company.com to load our sharepoint from a browser.

Now I want to tfs.company.com to load our Team Foundation. We are using port 7777. I mapped this in IIS but when i goto tfs.company.com nothing loads. (though if i go to 192.168.1.1:7777/tfs it loads fine).

it must be something simple. Thanks!
0
Comment
Question by:melegant99
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 28

Expert Comment

by:strickdd
ID: 36490745
Did you set this up through the http bindings on the site?

http://www.iis.net/ConfigReference/system.applicationHost/sites/site/bindings
0
 
LVL 2

Expert Comment

by:MCMC_Support
ID: 36490826
sounds like you need to add a host (A) entry on your DNS box in your company.com forward lookup up zone for tfs and point it to 192.168.1.1.
0
 

Author Comment

by:melegant99
ID: 36495736
I already have the DNS, it works ok because if I ping from another pc to tfs.company.com it replies from the right IP.

Do i need to have an access rule or something on my router?
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
LVL 20

Accepted Solution

by:
brwwiggins earned 500 total points
ID: 36496511
DNS can only translate a name to IP address. Therefore you can only translate tfs.company.com to a single IP. It cannot append the port 7777 for you.

What you should really look into is IIS host headers so that you can run different websites on the same server and on a single HTTP port.

You can edit the bindings in IIS to make tfs.company.com point to one website and portal.company.com point to another without having to add the port on it.
0
 
LVL 26

Expert Comment

by:Leon Fester
ID: 36502425
Agreed with brwwiggins.
Host headers will achieve the desired results

Some links for your reading:
http://support.microsoft.com/kb/324287
http://technet.microsoft.com/en-us/library/cc753195(WS.10).aspx
http://support.microsoft.com/kb/287726
0
 

Author Closing Comment

by:melegant99
ID: 36711395
Thanks.
0

Featured Post

Myth Busting: MongoDB Scalability (it scales!)

I was talking with one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. He mentioned to me that several customers have been telling him that “MongoDB doesn’t scale!” MongoDB’s scalability was in question?

My response was, “Is that a joke?"

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
Resolve DNS query failed errors for Exchange
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question