G
G
galynsky2014-09-18 15:17:01
Amazon Web Services
galynsky, 2014-09-18 15:17:01

How do I set up an Amazon S3 address?

Help a newbie. Created bouquet {mybucketname}.s3-website-eu-west-1.amazonaws.com. I have a domain, I want the return of statics from it to be static.{sitename}.ru. How to do it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Romanov, 2014-09-19
@Serhioromano

1. Create a bouquet named static.{sitename}.ru. That is, the bouquet name must match the domain name. This will create a DNS entry on the AWS side. That is, when your hosting redirects the user to S3, he must somehow determine where the files are located, respectively, the url.
2. In the properties panel, open Static Website Hosting and select Enable website hosting there and enter the document to launch and for the error. If you do not activate this parameter, then nothing will work.
3. At the hosting provider, create a CNAME as you already @Scorpiadvised. I recommend considering coudflare for DNS merging. This is a free DNS manager that works so fast that it usually speeds up the site rather than slowing it down. Also, DNS records from the domain provider are not always used at all. Well, at least mine. And here everything is simple. The provider will only need to enter the NSki that cloudflare will issue.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question