Question

Map subdomain to another IP

  • Posted April 18, 2014

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.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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. <br> <br>Thanks of the reply. <br>

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: <br> <br>https://www.digitalocean.com/community/articles/how-to-set-up-and-test-dns-subdomains-with-digitalocean-s-dns-panel <br> <br>Let us know how it goes!