I recently set up my octopress blog at http://davidmjohnson.me
. This domain works fine, but when I try http://www.davidmjohnson.me
, I get a heroku "no such app" error. Why is the www
not working? Do I need to add a redirect from http://www.davidmjohnson.me
to http://davidmjohnson.me
?
Asked
Active
Viewed 3,080 times
2

Skyhawk
- 14,200
- 4
- 53
- 95

The Internet
- 503
- 2
- 8
- 19
1 Answers
4
You just need to add the subdomain:
heroku domains:add www.davidmjohnson.me
There is nothing magical about the www
subdomain. If you want to use it, you need to configure it. It sounds like you have done this in your DNS settings but not in your Heroku setup.

Skyhawk
- 14,200
- 4
- 53
- 95
-
from the shell? – The Internet Aug 18 '12 at 18:04
-
Yep. You'll need the [Heroku Toolbelt](https://toolbelt.heroku.com). – Skyhawk Aug 18 '12 at 18:52
-
Thanks that worked. Now for the sake of google analytics does it matter if people ping "http://d.." or "http://www.d" I just don't want it to be split. – The Internet Aug 19 '12 at 08:14