Solved

How to route two sites from same IIS

Posted on 2011-09-06
6
451 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
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
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IIS8, 2012, IIS SSL - Website loading issue 9 63
Reload DC in a single server environment 5 94
Cannot upload files above 1mb IIS7 11 39
PHP7 and Sql Server Windows 2008 R2 13 80
Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
A short film showing how OnPage and Connectwise integration works.

947 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

21 Experts available now in Live!

Get 1:1 Help Now