Report this

What is the reason for this report?

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

Posted on July 25, 2013

hi

I own a domain name, let’s call it domain.com

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

sub1.domain.com -> 1.1.1.1 sub2.domain.com -> 2.2.2.2

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

but it has not worked. pinging sub1.domain.com and sub2.domain.com hits the same IP 1.1.1.1

any help appreciated

cheers

Francisco

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.