SSL/https setup for herokuapp.com address rather than my actual domain
Posted
by
new2ruby
on Server Fault
See other posts from Server Fault
or by new2ruby
Published on 2012-10-11T02:22:07Z
Indexed on
2012/10/11
3:39 UTC
Read the original article
Hit count: 265
I have a subdomain of my site pointed to a rails app at mysite.herokuapp.com. I bought a certificate from godaddy and seem to have that all set up correctly. So that when I go to:
http://mysite.herokuapp.com or
http://dev.mysite.com
it's redirected to:
https://mysite.herokuapp.com or
https://dev.mysite.com
The problem is that when I visit dev.mysite.com, I get the error: Safari can't verify the identity of the website. But when I go to mysite.herokuapp.com, I don't get the error. I wanted this to be set up the other way, so that dev.mysite.com did not cause the error.
I'm not sure where I went wrong. I used dev.mysite.com when generating the key and when setting it up at godaddy.com. Any ideas where I should look?
P.S. The old site is hosted at dreamhost and the DNS info is stored there as well. So I created a subdomain there of type cname which points to mysite.herokuapp.com.
© Server Fault or respective owner