Must use www for DNS entry using Amazon Route53

前端 未结 8 1342
予麋鹿
予麋鹿 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 04:04

    Yes, this record is called your "zone apex" -- the bigcompany.com address, not www.bigcompany.com. You can use an IP value there, or you can specify an "alias" and point it to an ELB.

    (Note: Route53 does NOT like @ values for either the record name or value.)

    0 讨论(0)
  • 2021-02-04 04:06

    The following works for me:

    For www.XYZ.com

    • Create Record Set
    • Name: *.XYZ.com
    • Set Type A Type
    • Alias: No
    • Value: 127.0.0.123 (you website IP)

    For XZY.com

    • Create Record Set
    • Name: XYZ.com (nothing to write here - leave it blank)
    • Set Type A Type
    • Alias: Yes
    • Value: (wait a second for the Drop Down menu) - choose \052.XYZ.com

    You can test with https://dnschecker.org if it works or not

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