简体   繁体   English

将购买的域名从hetzner重定向到heroku应用程序

[英]Redirect bought domain from hetzner to heroku application

I have purchased a domain from hetzner. 我已经从hetzner购买了一个域。 Currently my application is running on my heroku account. 目前,我的应用程序正在我的heroku帐户上运行。 My question ist. 我的问题专家。 How to redirect the domain from hertzner to my heroku application. 如何从域名重定向hertznerheroku应用。 I can only use these records: 我只能使用以下记录:

在此处输入图片说明

I really appreciate your answers, cause I really have no idea where to start! 我非常感谢您的回答,因为我真的不知道从哪里开始!

PS.: I can only use the DNS records because I have only aquired a domain and therefore the panel http://myaccount.hetzner.co.za is not available for me ;( PS .:我只能使用DNS records因为我仅获得了一个域,因此面板http://myaccount.hetzner.co.za对我不可用;(

This Heroku Dev Center article has many answers regarding DNS: 此Heroku开发中心文章对DNS有许多答案:

In short: you want any apex domain (mydomain.com) to forward to a subdomain (typically www.mydomain.com), and then CNAME the subdomain to your Heroku app. 简而言之:您希望任何顶点域(mydomain.com)都转发到子域(通常是www.mydomain.com),然后将子域CNAME到您的Heroku应用。

mydomain FORWARD www.mydomain.com
www.mydomain.com CNAME something.herokuapp.com

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

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