I installed Virtualmin on my server at a time i wasn’t having a domain name. But now i do, how do i configure Virtualmin to be accessed through this domain name that is managed from another server.
Can I simply use a reverse proxy to map the ip to the new domain name in Apache?
2
Answers
You will need to point your domain to your Virtualmin server and setup apache to act as a reverse proxy for the domain
/etc/webmin/miniserv.conf
and addbind=127.0.0.1
to it/etc/webmin/config
addreferers=vps.example.com
to allow Virtualmin to serve the page otherwise it will give you an error/etc/webmin/miniserv.users
and add the new user.This isn’t a Virtualmin question at all, unless I don’t understand the question. This is just a basic DNS question.
You don’t need to proxy anything. Just point the domain name at your Virtualmin server’s IP address (if you’re using the DNS services of your registrar or some other DNS hosting service), or set the glue records to point to your Virtualmin server (if you’re using the DNS features in Virtualmin).