Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

What should I do to make point to my heroku app, or even redirect to


share|improve this question

2 Answers 2

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, or switch DNS providers to one like DNSimple.

share|improve this answer

Here's a great write up on how to work around Dreamhost's setup to use custom domains for your Heroku App.

Basically you create a www cname with the value of your custom heroku app address, then you redirect your @ root traffic to your www sub-domain.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.