Amazon Route 53 setup and 301 Redirection setup

前端 未结 3 1437
难免孤独
难免孤独 2021-02-04 14:18

I\'ve setup my site on Amazon EC2 server. I am using Route 53 and the servers DNS have already propagated correctly when I set them on Godaddy. I have a few problems. AT the end

相关标签:
3条回答
  • 2021-02-04 14:55

    In Route53 you could set up a PTR(Pointer) Record to go from www.yoursite.com to yoursite.com. This is what I use to set up redirection from mydomain.com to www.mydomain.com

    0 讨论(0)
  • 2021-02-04 14:57

    I think you can do what you want with S3 static website hosting. You can point www.domain.com to an empty S3 bucket with a catch-all redirection rule: http://docs.aws.amazon.com/AmazonS3/latest/dev/HowDoIWebsiteConfiguration.html

    As an added bonus, it will take load off of your EC2 instance.

    0 讨论(0)
  • 2021-02-04 14:59

    We also have used the WWWizer, which is just a free service that returns all traffic with a www appended to the front of the naked domain. Set the @ record to point to 174.129.25.170 and set up the www cname or the * cname to point to the load balancer / elastic IP domain.

    0 讨论(0)
提交回复
热议问题