Must use www for DNS entry using Amazon Route53

前端 未结 8 1344
予麋鹿
予麋鹿 2021-02-04 03:39

I administered my domain e.g www.abcd.com in Amazon Route53. Everything works perfectly, except that when user type abcd.com without www, it won\'t get resolved. Any idea? Thank

8条回答
  •  太阳男子
    2021-02-04 03:51

    For Goddady domain migrated to AWS, I took the basic configuration for domain.com and modified it a bit.

    Search for somethin like this in your record set:

    Name: domain.com (or www.domain.com)
    Type: A - IPv4 address
    Alias: No
    Value: a_random_ip_address
    

    I just added a new record set with:

    Name: www.domain.com (or domain.com)
    Type: A - IPv4 address
    Alias: No
    Value: a_random_ip_address
    

    Remember afterwards to add www to your server (nginx, apache, etc)

提交回复
热议问题