我如何重定向一个裸体的(顶点)域中使用路由53 WWW? [英] How do I redirect a naked (apex) domain to www using Route 53?

查看:232
本文介绍了我如何重定向一个裸体的(顶点)域中使用路由53 WWW?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用53路(与S3如有必要)做从example.com 301重定向到www.example.com。有几个解决方案,类似的问题,但他们要么没有解决如何redirect从顶点或他们根本<一href="http://stackoverflow.com/questions/11370393/amazon-route-53-setup-and-301-redirection-setup">don't工作。

I need to do a 301 redirect from example.com to www.example.com using Route 53 (and S3 if necessary). There are a few solutions for similar problems but they either do not address how to redirect from the apex or they simply don't work.

当我按照步骤<一href="http://stackoverflow.com/questions/10115799/set-up-dns-based-url-forwarding-in-amazon-route53">here,路线53告诉我,我不能一个CNAME添加到顶点域。因此,我陷在泥里。

When I follow the steps here, Route 53 tells me I can't add a CNAME to the apex domain. Therefore, I'm stuck in the mud.

这似乎是愚蠢的简单,但亚马逊正在很难。任何帮助将是AP preciated。

This seems dumb simple but Amazon is making it hard. Any help would be appreciated.

推荐答案

试着做一个别名记录而不是CNAME。

Try making an alias record instead of CNAME.

每这样的回答: <一href="http://stackoverflow.com/questions/20215729/rrset-of-type-cname-with-dns-name-foo-com-is-not-permitted-at-apex-in-zone-bar">RRSet类型CNAME DNS名称foo.com。在先端的区域是不允许bar.com

这篇关于我如何重定向一个裸体的(顶点)域中使用路由53 WWW?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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