Map subdomain to another IP

Posted April 18, 2014 3k views
Hi, I have a domain and subdomain with virtualmin installed, i want to map the subdomain to point to a different virtual IP how can I do this? Do I need to add a domain in Digital Ocean DNS or something has to be done in virtualmin? Please help. Thanks in advance for any help.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers
Are you already using virtualmin for DNS on the existing droplet? If not then there is no reason to use it. I'd recommend using DigitalOcean's DNS configuration panel. Check out this tutorial:

Let us know how it goes!
I don't know whether I am using virtualmin DNS, but I usually setup domain using DO DNS configuration, and I did the same for my subdomain, and it worked.

Thanks of the reply.