Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a host header web application pointing to a Load Balanced IP. Is there any way that I can hit a specific server in the farm? I'm trying to diagnose intermittent 503s and cannot determine which app pool is misbehaving.

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

We do something a little bit different. We actually create DNS entries that point directly to the server IP addresses themselves. If the load balanced URL is server.domain.com, we'll create serverPROD01.domain.com that points directly to the first server and then serverPROD02.domain.com that points to the second and so forth. Naturally, these also need to be defined in Alternate Access Mappings as well.

This makes it so that anyone anywhere can go directly to a particular server if needed which comes in handy if your company help desk also troubleshoots SharePoint issues. It also means that you don't need to fight with the HOSTS file whenever you need to troubleshoot a specific server issue.

share|improve this answer
add comment

I have found the best method of doing this is to modify your machine's HOSTS file for your load balanced URL to point to the specific WFE IP. This will direct all of your traffic to that one IP skipping the NLB.

HOSTS is located in c:\windows\system32\drivers\etc.

Add an entry like

192.168.1.2 share.domain.com

Where 192.168.1.2 is one web front end and share.domain.com is your load balanced URL.

HTH

share|improve this answer
    
I thought that would point an IP at the specified host. Does it work the other way around as well? –  James Grizzle Nov 12 '12 at 17:45
1  
It only works to point a host name to an IP. it does NOT point an IP to a host necessarily. You can't override IPs in the HOSTS file, just hosts. –  David Lozzi Nov 13 '12 at 15:30
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.