How do I redirect a naked (apex) domain to www using Route 53?

前端 未结 4 857
甜味超标
甜味超标 2020-12-24 01:23

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 a

4条回答
  •  一生所求
    2020-12-24 01:53

    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

提交回复
热议问题