DirectAdmin through a reverse proxy

how to run directddmin through a reverse proxy

how to run directddmin through a reverse proxy

Apache Proxy Module

/usr/sbin/httpd -l | grep mod_proxy
  mod_proxy.c
  mod_proxy_connect.c
  mod_proxy_ftp.c
  mod_proxy_http.c
  mod_proxy_fcgi.c
  mod_proxy_scgi.c
  mod_proxy_uwsgi.c
  mod_proxy_fdpass.c
  mod_proxy_wstunnel.c
  mod_proxy_ajp.c
  mod_proxy_balancer.c
  mod_proxy_express.c
  mod_proxy_hcheck.c

Create a domain or sub.domain.com on DirectAdmin

Modify httpd.conf for that user

for port 80

for port 443

note

if we have more than one application to proxy for (here it is DA) it is better to use <location> directive in Apache configuration file like so

Disable check_referer in directadmin.conf

Restart DA and HTTPD

Screenshots

before login

after login

references

Last updated

Was this helpful?