Skip to main content
All CollectionsHow-to
How to publish to your root/main domain - www.yourdomain.com
How to publish to your root/main domain - www.yourdomain.com

Not being able to publish to your root domain - Resolving conflict with your DNS host provider

Aleks avatar
Written by Aleks
Updated over 2 years ago

If you have added your custom domain per instructions in this article, and you still can't publish a page strait from DragDropr to your root domain ( e.g. yourdomain.com), you probably have a conflict with your DNS host and CNAME records. 

The conflict appears because:

When the user adds a CNAME to their DNS record, the name of the CNAME actually links to the sub-domain on 'userdomain.com'

If the name of CNAME record is 'dnd', like in this help document, it will point the sub-domain 'dnd.userdomain.com' to the DragDropr hosting srvice

If the user wants to publish directly on the domain userdomain.com (e.g. www.userdomain.com ) and not on the sub-domain they need to change the A record for their domain


Meaning:

You cannot set a CNAME record to a root domain (e.g., example.com) because that would break RFC 1034 section 3.6.2, which states:

"If a CNAME RR is present at a node, no other data should be present; this ensures that the data for a canonical name and its aliases cannot be different."

Furthermore, we can not set a "naked" CNAME  e.g. yourdomain.com.
​  

  • The CNAME always needs to be in a sub-domain format (e.g. example.yourdomain.com)  

EXAMPLE

  • Conflict usually happens when you try to set CNAME to your root domain e.g. yourdomin.com which is not possible, or when you try to set "naked" CNAME to your sub-domain.

SOLUTION 1

1. Add "www" sub-domain. E.g. www.yourdomain.com

2. Add/Change CNAME record for your "www.yourdomain.com" sub-domain to URL you got from DD when you added the domain.

It is on one of these dialogs, depending whether you want to publish a single page or a whole website.

3. Create a 301 Redirect from yourdomain.com to www.yourdomain.com.


SOLUTION 2

In your DNS provider settings you need to change the A record: 

It should point to should point to 37.97.149.152, which is the DragDroppr hosting service IP

Did this answer your question?