DNS CNAMEs Using @ As The Host Value

  • Posted on September 4, 2014
  • AJBAsked by AJB

Hi folks,

I’ve got my primary domain setup with an A record like so:

A          @

And I’d like to add some subdomains, which I’ve tried to do like so:

CNAME      www      @
CNAME      docs     @

The assumption I’m working with is that since the ‘@’ is setup as an A record, I should be able to use it as the target of a CNAME record?

However, it’s not working. Any help is greatly appreciated.

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.


If you’re still having issues with DNS propagation, please go ahead and open a support ticket so that the team is aware of the situation. The previous issue with the DNS service should be resolved.