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 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?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

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.

share|improve this answer
    
from the shell? –  The Internet Aug 18 '12 at 18:04
    
Yep. You'll need the Heroku Toolbelt. –  Skyhawk Aug 18 '12 at 18:52
    
Thanks that worked. Now for the sake of google analytics does it matter if people ping "d.."; or "d"; I just don't want it to be split. –  The Internet Aug 19 '12 at 8:14

Your Answer

 
discard

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.