There are two application servers and a switch. When i access application by using application server ip it works fine. However if i use switch ip in my url Bad request erro
If you use Apache httpd web server in version above 2.2.15-60, then it could be also because of underscore _ in hostname.
_
https://ma.ttias.be/apache-httpd-2-2-15-60-underscores-hostnames-now-blocked/