CNAME domain to heroku app

cname-recorddomain-name-system

I've got a domain hosted (DNS only) on Dreamhost. I've got www.mydomain.com CNAME'd to my web app on heroku, I would also like to CNAME just the domain (mydomain.com). Ofcourse, you can only CNAME subdomains.

What should I do to make mydomain.com point to my heroku app, or even redirect to www.mydomain.com?

Cheers!

Best Answer

Heroku's documentation on the matter references DNSimple's ALIAS records. If Dreamhost doesn't offer something similar, you'll need to run a small server handling the apex record, use a service like wwwizer.com, or switch DNS providers to one like DNSimple.

Related Topic