I have a domain that it is pointed to one droplet, and I would like to create a subdomain that will point to a different droplet, is this possible?

This is my current dns settings: Screenshot

I tried creating a CNAME with the domain ‘dev’ and entered the domain, but that didn’t work, I’m not sure what I’m doing wrong, but I’m still new to the whole dns thing

And here is my .conf file (on the other droplet, not the main)

Any ideas?

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

The configuration you have should route requests for dev.passion4web.co.uk to and requests for www.passion4web.co.uk or passion4web.co.uk to

If you just made this most recent change you may need to allow a bit of time for cached DNS results to be updated with the DNS server your Internet connection is using.

Ah okay. Silly me! It’s working now :)