Detecting webhost server
- by user279521
I have a web app that is using the 3.5 framework. I wanted to know how can I detect what webhost is rendering the page.
If the server is localhost, then send email notification to test@dev.com
If the server is QA, then send email to xyz@dev.com
Thanks