Best way to force traffic to Web Front End?
-
09-12-2019 - |
Question
I have a SP 2010 farm with a 3-tier structure consisting of 1 DB server, 1 App Server and 1 Web Front End. When I create a Web New Web Application called "Search_WebApp", I notice that it creates the Web Application on BOTH the APP server and WFE. Right now I added a DNS entry so that all requests to "search" get redirected to IIS on the WFE. A few questions about this:
- Why did SP create the Web Application on both the APP Server and WFE? Why not just the WFE?
- Is a DNS entry and host headers the best/only way to force traffic to the WFE? I don't want web traffice going to the App Server.
Solution
1) Because the Microsoft SharePoint Foundation Web Application service is running on your App Layer. Go to Central Admin -> Manage services on server, select your App server, then stop this service.
2) DNS entries are the way to target a WFE for end user access. End users will only go to the WFE DNS is pointed at (or if DNS is pointed at a VIP, to the load balanced WFEs).