Static hosting on Amazon S3 - DNS Configuration

后端 未结 4 2185
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-12 09:06

I\'m working on a little webapp (all client-side) I want to host it on Amazon S3. I\'ve found several guides on this and have managed to create myself a bucket (with the sam

4条回答
  •  没有蜡笔的小新
    2020-12-12 09:48

    From the Advanced DNS screen on your 123-reg control panel

    • I started by clicking the "Reset DNS" button to the default 123-reg settings.

    This gave me the following;

    DNS EntryType       PriorityTTLDestination/Target
    *                 A                                 81.xx.xx.xx              
    @               A                                 81.xx.xx.xx              
    @               MX          10               xx0.123-reg.co.uk
    @               MX          20               xx1.123-reg.co.uk

    • I then added this entry

    www          CNAME                    www.example.com.s3-website-us-east-1.amazonaws.com

    From their Manage DNS guide pdf it says the "@ record" refers to "your domain in its purest form with no subdomain" ie the naked domain stackoverflow.com

    But it doesn't mention what the "* record" is, I assumed it would be to catch all sub domains and thought it might over ride the CNAME record but this does not appear to be the case.

提交回复
热议问题