-1

I have installed a Webmin instance. I can access by both domain:port and ip:port. Is there any way to restrict access to an specific domain name and disallow direct access by IP?

1 Answers1

2

Webmin's integrated miniserv doesn't AFAIK have a feature like this. It seems to be a job for a proper reverse proxy with name-based virtual host support. This isn't hard to configure and is well described in Webmin documentation.

A good choice for a proxy is ie. Apache httpd.

sam_pan_mariusz
  • 2,133
  • 1
  • 14
  • 15