2013-11-29 43 views
0

因此,我在heroku上開發了我的RoR網站。我在heroku上使用了https,最近我爲我的網站購買了一個域名。所以我將www.mydomain.com設置爲myname.myrokuapp.com。通過cname設置HTTPS的問題

但問題是,當你瀏覽到www.mydomain.com你得到一個瀏覽器警告 說

You attempted to reach www.mydomain.com, but instead you actually reached a server identifying itself as *.herokuapp.com. 
This may be caused by a misconfiguration on the server or by something more serious. 
An attacker on your network could be trying to get you to visit a fake (and potentially harmful) version of www.mydomain.com. 
You should not proceed, especially if you have never seen this warning before for this site. 

我想知道我怎麼可以從顯示出來解決這個錯誤,當您瀏覽到https://www.mydomain.com

感謝您的幫助

回答