Access web interface through domain/subdomain without port

#1
Is there any way to access web admin through a domain/subdomain directly without putting the port :7080 at the end?
E.x: ols.domain.com
Maybe some kind of proxy or something? Any idea?
 

Cold-Egg

Administrator
#2
Sure you can.
1. Create a new VH with the domain you want
2. Apply SSL for it and set it on the virtual host level
3. Setup a web server external application(https://docs.openlitespeed.org/docs/advanced/proxy#setting-up-openlitespeed-as-a-reverse-proxy)
Code:
extprocessor
webadmin {
  type                    proxy
  address                 https://YOUR_DOMAIN:8090
  maxConns                100
  pcKeepAliveTimeout      60
  initTimeout             60
  retryTimeout            0
  respBuffer              0
}
4. Set up rewrite rules to proxy to the port 8090 at the virtual host level.
Code:
REWRITERULE ^(.*)$ HTTPS://webadmin/$1 [P]
Check https://docs.openlitespeed.org/docs/advanced/proxy if you need more details about the proxy setup.
 
Last edited:
Top