如何使用 Route 53 将裸(顶点)域重定向到 www? [英] How do I redirect a naked (apex) domain to www using Route 53?
问题描述
我需要使用 Route 53(如有必要,还有 S3)进行从 example.com 到 www.example.com 的 301 重定向.有一些类似问题的解决方案,但它们要么没有解决如何
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.
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.
This seems dumb simple but Amazon is making it hard. Any help would be appreciated.
Try making an alias record instead of CNAME.
Per this answer: RRSet of type CNAME with DNS name foo.com. is not permitted at apex in zone bar.com
这篇关于如何使用 Route 53 将裸(顶点)域重定向到 www?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!