Warning: Trying to access array offset on value of type bool in /home/kdjayako/public_html/wp-content/plugins/pro-elements/modules/dynamic-tags/tags/post-featured-image.php on line 36

Warning: Trying to access array offset on value of type bool in /home/kdjayako/public_html/wp-content/plugins/pro-elements/modules/dynamic-tags/tags/post-featured-image.php on line 36

Warning: Trying to access array offset on value of type bool in /home/kdjayako/public_html/wp-content/plugins/pro-elements/modules/dynamic-tags/tags/post-featured-image.php on line 36

Warning: Trying to access array offset on value of type bool in /home/kdjayako/public_html/wp-content/plugins/pro-elements/modules/dynamic-tags/tags/post-featured-image.php on line 36

KD Jayakody

Call Us: 076 72 33 595


Warning: Trying to access array offset on value of type bool in /home/kdjayako/public_html/wp-content/plugins/pro-elements/modules/dynamic-tags/tags/post-featured-image.php on line 36

How to Set a CNAME for an Amazon S3 Bucket

Nov 7, 2022

You might want a URL that is prettier than the default if you want to use Amazon S3 to share files publicly for your website or to enable downloads, for example:

hellodownloads.yourdomain.com

To make this real, you can set a CNAME which points your domain to Amazon S3 bucket.

First, confirm that the name of your bucket matches the name of your CNAME. To use an example, if I wanted the CNAME to be hellodownloads.yourdomain.com, I would set the bucket name to that.

The next step is to log into the location where your DNS settings are kept (assuming you haven’t updated them, your web host is presumably where they are kept) and add a new CNAME record for that domain. I would then direct that CNAME to: hellodownloads.yourdomain.com.s3.amazonaws.com for the aforementioned example.

The screenshot which is given below will show you how to setup the record in cloud flare.

The duration will be depend on the hosting provider and however wait for a few hours until you check the connection. You will be able to check the CNAME propagation from using NS Checking tool.

Hope your work is success. Just keep in touch with our blog to learn more in the future.

Recent Posts