Domain Name on VPS

How would I point a domain name to a VPS when I may not be able to run Virtualmin on the VPS? I have installed an application that needs to run its own light-httpd server and version of MySQL and my attempts to install Virtualmin are met with errors. I installed Webmin, though. The software created a site at its own root www directory that I want to point a domain to. The default hostname only allowed me to use a subdomain of the Cloudmin master.

Can I create a zone on my main Virtualmin server and point the www to the IP address of the VPS server? Or is there a better way?

Status: 
Active

Comments

Can I create a zone on my main Virtualmin server and point the www to the IP address of the VPS server?

Sure... you just need a DNS server somewhere that you control, it doesn't matter if that's the same server that your domain's website resides on.

You can certainly take your main Virtualmin server, and use the DNS on that server, and point it to your VPS.

A simple way to do that would be to setup a Virtual Server using your domain, but to only enable the DNS feature.

Once you've done that, go into Services -> DNS Domain, and change the various IP addresses in there to that of your VPS.

Thanks! That confirms what I was thinking.