Quantcast
Channel: SharePoint Diary
Viewing all articles
Browse latest Browse all 1058

How to Find Which SharePoint Server You are Hitting

$
0
0
To troubleshoot a issue in SharePoint environment, I had to figure out from which SharePoint server I'm getting the page response. How to check which SharePoint web front end is serving your requests? I found these two ways to determine which SharePoint WFE you are hitting:
  1. Using IIS HTTP Response header and Fiddler Tool
  2. Placing a specific image file in each WFE denoting its whereabouts and linking it to SharePoint

Method 1: Using HTTP Response Header

Set the HTTP Response Header in IIS:
  1. Go to your Web Front End server, Open IIS, Choose your SharePoint web application from Sites tree view. Open "HTTP Response Headers" widget find sharepoint server address, sharepoint find server name
  2. From the Right pane of the widget, Click on "Add" link, Give a name and value. Here, I gave "WFE" as name and "WFE01" as my web front end name. Click "OK"to save your changes. Repeat this step of setting HTTP response header in IIS for all of the web front end servers of your SharePoint farm!
  3. Now, from the client side, run Fiddler tool. From the Fiddler tool , Go to "Inspectors" tab and then "Header"section. You can get the custom HTTP response header we've created with its corresponding value.

    How to Find Which SharePoint Server You are Hitting

Method 2: WFE Specific Image 

What if you don't want to use tools like Fiddler? Well, you can just place an image depicting your web front end server name, link it to your SharePoint sites. E.g. Say, you have two web front end servers. Just make two different logo files of same name, say: "WFE-Logo.png" and place each of them in corresponding web front end server location: "C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\IMAGES" . Here is mine:
 
Now, Go to any of your SharePoint site, change your site logo point to: "/_layouts/15/images/wfe-logo.png" and at run time, it should fetch the corresponding image from the web server.

Viewing all articles
Browse latest Browse all 1058

Trending Articles