I need to configure elasticsearch so that it is accessible with sub domain, e.g. test.web.com over https and http.
I can access it with ip of the server and appending it with port :9200 but the requirement is i want to access it without port number like test.web.com
Configure your favorite web server to exact as a reverse proxy, e.g. listen to requests on port 80 and/or 443 and forward them to localhost:9200.
Thanks Magnus for the response!!!
Initially we want to try elasticsearch on one server and the sub domain is configured on the same server with other websites. Do you have any hint how to set reverse proxy. Is it something possible with elasticsearch YML file.
Do you have any hint how to set reverse proxy.
Check the documentation of your webserver of choice (e.g. IIS).
Is it something possible with elasticsearch YML file.
No.
Thanks!
I set up the IIS with URL rewrite functionality by following the steps here
http://weblogs.asp.net/owscott/creating-a-reverse-proxy-with-url-rewrite-for-iis
But trying to resolve issue that we get
502 - Web server received an invalid response while acting as a gateway or or proxy server during Dashboard execution in Web
It's actually following exact error
502 - Web server received an invalid response while acting as a gateway or proxy server.
There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.