Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

Regards Avinasha

share|improve this question

migrated from 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

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

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 * to my Heroku app?

share|improve this answer
Outdated: dead link – Marius Butuc Mar 26 '15 at 23:23

Your Answer


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