how can I map two subdomains to two droplets (two different IP addresses)?

  • Posted July 25, 2013


I own a domain name, let’s call it

I want to map two subdomains of it to two DigitalOcean droplets (let’s say with IP’s and, as in: -> ->

I’ve tried creating two ‘A’ records: sub1 sub2

but it has not worked. pinging and hits the same IP

any help appreciated




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.

@chuddy17: Simply point an A record on whatever DNS platform you are using to your droplet’s IP address.

I do have a similar problem, I wand to assign a sub domain name to a different IP address, I am currently using a hosted service. Please, how can I achieve this? <br> <br>Benjamin

Reason? load balancing?

actually, I take the question back, that worked :) <br> <br>it may have been a problem with not flushing correctly my dns cache