kipl20
By:
kipl20

Can your DNS control panel be used for heroku?

July 17, 2013 4.7k views
Im looking to transfer my domain over to use your control panel for DNS. Does it support the ability for subdomain redirection or CNAME functionality at the apex? https://devcenter.heroku.com/articles/custom-domains#root-domain I'm having no luck with setting up a free Heroku server for a small site with Heart Internet and their support is terrible.
8 Answers
Just so you know, CNAME at the Apex is not supported anywhere. If it is, then it's something else doing the work because DNS RFCs explicitly forbid it.
Oh and to be clear, CNAME at subdomain is fine and should work.
Thanks for your reply. I have no problem creating a CNAME for the WWW subdomain. My issue is trying to establish a redirect/forward from the root domain to the www subdomain. How would I do this using Oceans DNS panel?
If you're using Apache, you could do it with the Rewrite Module and an .htaccess file in your root directory.
"CNAME at the Apex is not supported anywhere"

Unfortunately, this isn't true (though it may be more about wording than a disagreement on functionality). DNSimple and DynDNS both support ALIAS and ANAME records which let you establish what looks like an A-record (for a root domain) to clients while resolving the IP address dynamically (like CNAME).

@kipl20 I can try to help you directly if you'd like. Ping be @rwdaigle (https://twitter.com/rwdaigle)
Why go with a third-party provider? Isn't it as simple as having your web server (e.g., Nginx or Apache) do a 301 redirect?
> If your DNS provider does not support such a record-type, and you are unable to switch to one that does, you will need to use subdomain redirection to send root domain requests to your app on Heroku.

We do not support ALIAS/ANAME records, so you will have to configure your webserver to redirect from yourdomain.com to www.yourdomain.com.

Seriously, @kamaln7!

You think that's a good solution? "Just redirect"

This is so unprofessional and annoying. Can't believe you guys didn't decide to solve this issue in last couple of years...

Have another answer? Share your knowledge.