Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have to host a subdomain of my domain to heroku app. For example abc.com points to a Hostgator account. I want to configure app.abc.com to heroku app. The domain is registered with godaddy. Can anyone please help me out.

Regards Avinasha

share|improve this question

migrated from stackoverflow.com Sep 24 '10 at 2:37

This question came from our site for professional and enthusiast programmers.

Has nothing to do with programming other than you mentioning a hosting provider tailored for rails. –  David Lyod Sep 23 '10 at 19:54
Configuring your server settings isn't really programming, so I've voted to move this question to ServerFault, the site for, well, this :) –  Matchu Sep 23 '10 at 19:59
This is actually a heroku-specific question as you can see in the answers containing links to their documentation on how to do just this. –  tfe Sep 23 '10 at 20:56
@tfe — it's still little to do with programming, though. –  Matchu Sep 24 '10 at 2:01

3 Answers 3

I'd actually point to a different part of that page:

What IP addresses should I use to point my custom domain at Heroku?

Create a CNAME record in your DNS settings pointing subdomain to proxy.heroku.com.

The wildcard domains section has to do with pointing any subdomain the user provides to your Heroku app; these instructions are for a single subdomain.

share|improve this answer

It's an old question, but still ranking pretty high when I was looking at a solution for a similar problem.

The heroku docs you're looking for is the one on Custom Domains.

For an old domain from NameCheap, with CPanel-backed hosting from them, I used those instructions to successfully point a subdomain to a rails app hosted on heroku.

share|improve this answer

Here you go: Can I point *.mydomain.com to my Heroku app?

share|improve this answer
Outdated: dead link –  Marius Butuc yesterday

Your Answer


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