指向Heroku的1和1域 [英] 1&1 domain pointing to Heroku

查看:74
本文介绍了指向Heroku的1和1域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道已经对此进行了一些讨论,但没有一个给出明确的答案.我希望这会对我和其他人有所帮助.

I am aware that there have been a few discussions on this one but none have given a definitive answer. I am hoping this will help me and others.

问题:
我有一个在1& 1注册的域名(www.xyz.com).
我希望用户能够输入该内容并向我显示其网站. Heroku网络应用程序.
我希望显示域名(www.xyz.com).没有任何子域URL或heroku应用URL.
我不希望设置对SEO产生不利影响.

Problem:
I have a domain name (www.xyz.com) registered with 1&1.
I want users to be able to type this in and be shown my website. A Heroku web app.
I want the domain name (www.xyz.com) to be displayed. Not any subdomain url or the heroku app URL.
I do not want the set-up do be anything that will have a detrimental impact on SEO.

注意:
我刚打完电话1& 1,他们说我唯一的选择是进行帧重定向或http转发.这些都不满足上述要求.
此外,其他帖子也建议找出Heroku IP地址是什么,并使用它,但是Heroku建议您对此使用,因为他们可能会在不另行通知的情况下对其进行更改.

Note:
I have just got off the phone with 1&1 and they have said that my only options are to do a frame redirect or a http forward. Neither of these meet the above requirements.
Additionally, other posts have suggested finding out what the Heroku IP address is and using this but Heroku recommend against this as they might change it without notice.

请问任何一种足以回应的东西都可以使事情变得有些混乱.重定向出现问题的任何人都可能是新来的.

Please could I ask that any one kind enough to respond spells things out a little. Anyone having problems with redirects is likely to be new to this.

谢谢.

推荐答案

我发现此视频很有帮助-

I found this video to be helpful - https://www.youtube.com/watch?v=ZLVBBAnrrL4

基本上,如上文@Kevin Lawrence所述,您使用的是"www"子域.

Basically, as noted by @Kevin Lawrence above, you use the 'www' subdomain.

这篇关于指向Heroku的1和1域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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