Solved

How to route two sites from same IIS

Posted on 2011-09-06
6
442 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
6 Comments
 
LVL 28

Expert Comment

by:strickdd
Comment Utility
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
Comment Utility
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
Comment Utility
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
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 20

Accepted Solution

by:
brwwiggins earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

I will assume you are running a non-server version of some sort of Windows throughout this article. There are many flavors of Windows since Windows Server 2000 - 2008, XP Home & Pro, Vista Home & Pro, and Windows 7 Starter, Home, Pro, Ultimate, etc.…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

771 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now