简体   繁体   English

自定义域未指向 Heroku 项目

[英]Custom domain not pointing to Heroku project

I have deployed my node.js project on Heroku but I am not able to point my domain (purchased from ionos.ca) to the Heroku dns target.我已经在 Heroku 上部署了我的 node.js 项目,但我无法将我的域(从 ionos.ca 购买)指向 Heroku dns 目标。 I have made two domains in heroku dashboard:我在 heroku 仪表板中创建了两个域:

*.mysite.com, DNS Target: aqueous-jay-p8wmra8eyzlv3gzckdhj99je.herokudns.com *.mysite.com, DNS 目标:aqueous-jay-p8wmra8eyzlv3gzckdhj99je.herokudns.com

www.mysite.com , DNS Target: experimental-turnip-ha25x6iwdwmb4xzxtsdrhj3k.herokudns.com www.mysite.com , DNS 目标:experimental-turnip-ha25x6iwdwmb4xzxtsdrhj3k.herokudns.com

Then in my ionos.ca domain portal, I changed the CNAME to然后在我的 ionos.ca 域门户中,我将 CNAME 更改为

aqueous-jay-p8wmra8eyzlv3gzckdhj99je.herokudns.com水杰-p8wmra8eyzlv3gzckdhj99je.herokudns.com

But whenever I visit www.mysite.com I get an error saying但是每当我访问www.mysite.com时,我都会收到一条错误消息

This site can't provide a secure connection此站点无法提供安全连接

www.mysite.com sent an invalid response. www.mysite.com发送了无效响应。

Visiting mysite.com gives me this error:访问 mysite.com 给我这个错误:

This site can't be reached无法访问此网站

mysite.com's server IP address could not be found.找不到 mysite.com 的服务器 IP 地址。

Any idea how I could fix this?知道我该如何解决这个问题吗? I have been trying to make it work since last 1 hour:(自从过去 1 小时以来,我一直在努力让它发挥作用:(

Something is wrong with your SSL/TLS setup.您的 SSL/TLS 设置有问题。 Fiddler4/Wireshark is showing Internal Error (80) I found some references that may help here: https://stackoverflow.com/questions/43436412/openssl-connection-alert-internal-error If you are using NGINX then post your config I can help with that. Fiddler4/Wireshark 显示Internal Error (80)我发现了一些可能对此处有帮助的参考资料: https://stackoverflow.com/questions/43436412/openssl-connection-alert-internal-error如果您使用的是 NGINX 然后发布您的配置我可以帮忙。

Frame 138: 61 bytes on wire (488 bits), 61 bytes captured (488 bits) on interface 0
Ethernet II, Src: Fortinet_d4:fd:97 (70:4c:a5:d4:fd:97), Dst: Dell_b3:a3:f6 (b8:85:84:b3:a3:f6)
Internet Protocol Version 4, Src: 52.73.16.193, Dst: 192.168.1.40
Transmission Control Protocol, Src Port: 443, Dst Port: 63037, Seq: 1, Ack: 221, Len: 7
Transport Layer Security
    TLSv1.2 Record Layer: Alert (Level: Fatal, Description: Internal Error)
        Content Type: Alert (21)
        Version: TLS 1.2 (0x0303)
        Length: 2
        Alert Message
            Level: Fatal (2)
            Description: Internal Error (80)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM