generalnetworkerror Posted on Thu, October 30, 2014 at 20:52 tagged http, test, www in load balancing
Normally, testing against a staging environment takes place with hostnames for that specific purpose and which differ from the production hostnames. These hostnames align with different VIPs (Virtual IPs) on a load-balancer to direct the traffic flow to the appropriate backend server farm. This works well when the client can easily and manually switch the hostname between staging and prod.
Testing mobile apps and third-party sites that may link back to yours poses an issue: How do you control the hostname linked to you so it hits your staging environment for testing? Not easily. On a desktop or laptop, testers happily </sarcasm> modify their local hosts file to get a production hostname to use the VIP (or IP address) for the staging (STG) environment.