heroku rails app domain only working without www

1.9k views Asked by At

I moved an app from my existing ISP to heroku 2 days ago.

It seems like it wasn't working until I realized I had put railslinks.com instead if www.railslinks.com in the heroku web control panel interface. So when I actually tried http://railslinks.com instead of http://www.railslinks.com it worked

So (today 1 hr ago) I added www.railslinks.com in the heroku control panel. I made NO changes to my DNS settings with Network Solutions (which show all my various domains with the www prefix).

So far though, I'm not yet able to connect to http://www.railslinks.com

Is there a dns-like delay in getting my heroku change propogated or am I missing something.

Note: 'myapp' is not the actual name, just my placeholder in the document.

DNS Settings at Network Solutions:

enter image description here

Heroku Settings (I've put both of them there for now, tried www alone didn't help):

enter image description here

3

There are 3 answers

2
Michael Durrant On BEST ANSWER

Found it, have to use my "zergio" dns editing tool:

enter image description here

1
John Beynon On

Provided you have a CNAME entry for www.myapp.com pointing at either proxy.heroku.com or myappname.herokuapp.coun then it should work.

Adding domains is almost instant on Heroku, this sounds more like a DNS issue but without knowing your real domain makes it tough to diagnose.

1
PrzeoR On

For me this has worked out for www.reactjs.co (just add www. in the heroku app admin panel):

herokuapp fix - click here for the screenshot