S
S
Sergey2013-04-22 10:59:54
Amazon Web Services
Sergey, 2013-04-22 10:59:54

Setting up a DNS registrar for an Amazon S3 site?

Good afternoon. I uploaded a small site on Amazon and a couple of questions arose. This is the first experience of hosting my site, so I'm not aware of the nuances of managing DNS records.

1. Unable to correctly create CNAME record at registrar.
Read manuals such and such . I can't figure out what problems a non-www site can have from the stackoverflow article. Dots at the end of endpoint entries are worth it. How can I check that the site appeared in the registrar's DNS records?
2. There is no access to pages that are loaded into a frame on the site.
Error 403. "Make a public" did.


7gRKN.png

Thanks for the help!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Michael Danilov, 2013-04-22
@Jeisooo

The example.com site, create a container for 'example.com' and 'www.example.com'. For the main container (let's say we have example.com the main one), write this:
image
and for the side container (let's say we have www.example.com ):
image
In DNS records:

@        CNAME        example.com.%aws_region%.amazonaws.com.
www      CNAME        www.example.com.%aws_region%.amazonaws.com.
@        NS           ns1.agava.net.ru.
@        NS           ns2.agava.net.ru.

PS MX-records (for mail) with '@ CNAME %host%' can no longer be set, MX works only if '@ A %IP%' is registered, i.e. server IP. Alternatively, you can find out the IP of your endpoint 'example.com.%aws_region%.amazonaws.com', but you must always make sure that the IP is correct, because Amazon often changes endpoint addresses.
PPS I don't remember, but I think all the files in the container immediately become Public.
In Windows, you can view the records from the registrar through
nslookup -type=CNAME example.com ns1.avaga.net.ru

in *nix:
dig @ns1.agava.net.ru example.com CNAME

A
antonzaycev, 2013-04-22
@antonzaycev

remove the first two first A records, two CNAME records are enough

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question