将Heroku应用程序与我的GoDaddy域连接 [英] Connect Heroku Application with my GoDaddy Domain

查看:269
本文介绍了将Heroku应用程序与我的GoDaddy域连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Heroku上设置了一个应用程序,并且还从GoDaddy购买了一个域名。



我在Google上搜索了如何将我的域连接到Heroku,我也阅读Heroku文档,但是我无法将其与我的域连接。



我是初学者,发现我需要添加cname或域可能是不知道该怎么做如何连接我的域名与heroku应用程序?我需要在我的域中添加DNS,但如何添加?



请让我非常非常基本和详细的一步一步的过程将我的域连接到Heroku应用程序

解决方案

可能的重复..根据用户请求我们做...



需要执行2个步骤,



添加自定义域插件并添加要使用的域,例如www.mywebsite.com对于您的应用程序,请运行以下命令执行此任务


英雄网域:添加www.example.com


转到您的域名注册商控制面板,并将www.mywebsite.com设置为一个CNAME条目到yourapp.herokuapp.com,假设您正在使用CEDAR堆栈。 p>

只要把www的价值和目标是你的heroku应用程序,如yourname.herokuapp.com


I've set up a application on Heroku and have also purchased a domain from GoDaddy.

I searched on Google how to connect my domain to Heroku and I also read the Heroku documentation but I am not able to connect it with my domain.

I am a beginner and have found I need to add cname or domain may be but I don't know how to do it. How can I connect my domain with the heroku app? I need to add DNS on my domain but how to add it?

Please let me know very very basic and detail step by step procedure to connect my domain with the Heroku app please.

解决方案

Possible duplicate.. As per the user request we do ...

There are 2 steps you need to perform,

Add the custom domains addon and add the domain your going to use, eg www.mywebsite.com to your application, Running below command to perform this task

heroku domains:add www.example.com

Go to your domain registrar control panel and set www.mywebsite.com to be a CNAME entry to yourapp.herokuapp.com assuming you are using the CEDAR stack.

just put www in value and target is your heroku app like yourname.herokuapp.com

这篇关于将Heroku应用程序与我的GoDaddy域连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆