My application is hosted in oracle weblogic 12c with OHS 12c and have SSL enabled at port 1234. URL as such
- HTTP :
- HTTPS :
In my hosts file, I map the server IP to a dummy URL.
Now my site can be access through
http://dummyURL.example/webName. But I am noticing a weird behavior when access the site with HTTPS and without trailing slash, it return a status code of 301 (Moved Permanently) and the URL turn into the actual serverName. This only happen to HTTPS, not when HTTP, what could be the cause, and how can to prevent this. I want it to get routed without revealing the actual server host name.
- Request return Status Code : 301 Moved Permanently
- URL get routed to