Having subdomain of namecheap domain point to droplet

Posted May 3, 2014 15.4k views
I have a namecheap domain currently setup for github pages. I want to point the dev. subdomain at digitalocean however. I tried to set an NS record in namecheap for the dev subdomain to the digitalocean nameservers and then set the hostname for the droplet to This... didn't seem to work. Any suggestions?

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
3 answers
I evidently did it correctly and it just took quite a while to propagate. For future reference for anyone else I set it up the following way:

On namecheap:

@ -- -- CNAME
www -- -- CNAME

dev -- -- NS

On digitalocean:

Machine hostname is
Add DNS for, keep the default @ A record (the droplet's IP)

Hey @shawncplus! I’m trying to do the same thing, but I’m confused about your answer.

I have a domain on namecheap, and it ( points to github pages. I want to create a subdomain ( on namecheap and point it to a Digital Ocean droplet.

In my namecheap, I have:
@ - - A(Address)
@ - - A(Address)
www - - CNAME(Alias)

On my digitalocean:
Under the DNS, I created a and if you click on ‘View,’ I kept the default @A record with the droplet’s IP and the three default NS1.DIGITALOCEAN.COM. rows.

Whoa, never mind, it worked!