How to redirect a root (apex) domain to another domain with Route53 | AWS Quick tips #1

How to redirect a root (apex) domain to another domain with Route53 | AWS Quick tips #1

Majestic.cloud

3 года назад

10,522 Просмотров

When you need to redirect the root (or apex) domain to another domain with Route53 then you don't have too many options. You can't directly use the A record because it only allows using IP addresses or aliases to AWS resources. The CNAME only allows subdomains.

But you can use a neat little trick that allows you to use an A record with an Alias to redirect to another domain, even if that domain is outside of your AWS infrastructure. Check out the video to see how to do it.

If you liked this video please click on the like button! There's a new video on Majestic.cloud once a week so if you want to stay updated and don't want to miss any new videos then please subscribe to the channel!

Visit the site: https://majestic.cloud

Follow Majestic.cloud on social media:
Twitter: https://twitter.com/cloud_majestic
Facebook: https://www.facebook.com/majesticcloudcomputing/

Тэги:

#aws #route53 #apex_domain #redirect #s3 #static_website #cloud_computing
Ссылки и html тэги не поддерживаются


Комментарии:

@Pauliniosu
@Pauliniosu - 22.11.2023 21:32

well I don't know where you hosting your apex cloud website but I am trying to redirect my domain to a random URL and this way doesn't seem to be working for me

Ответить
@ethaniel86
@ethaniel86 - 18.07.2023 12:48

is there updated method in 2023? no CNAME on root/apex domain is really inconvenient sometimes

Ответить
@derekmab7734
@derekmab7734 - 09.02.2023 01:49

Thanks for that, but where is the site hosted as I have not seen you adding html etc files to S3 bucket you created, you just enabled the redirect.

Ответить
@stillsmart
@stillsmart - 24.01.2023 17:27

Works like a charm! Thank you very much

Ответить
@AlvinOgles1
@AlvinOgles1 - 30.12.2022 03:30

Thanks! Just used this.

Ответить
@floresjose
@floresjose - 19.08.2022 10:54

it doesn't Work for me, im trying to redirect my hosting from route 53 to another url domain in an external hosting and it doesnt work, any idea?

Ответить
@arashboustani38
@arashboustani38 - 17.08.2022 00:23

I followed the exact same steps but it is not working. Any idea of a blocker?

Ответить
@maroso_
@maroso_ - 19.07.2022 20:07

thank you

Ответить
@austinjisakson
@austinjisakson - 12.07.2022 03:32

Thank you for this video! This was the only way I could get the apex domain redirect to work and it is totally appreciated!

Ответить
@user-dn8ug2tb2b
@user-dn8ug2tb2b - 29.06.2022 18:12

Thanks for that post. What if I want to redirect to 2 different domains based on GEOLocation? Do I create 2 buckets for each domain and then after 2 A records?

Ответить
@Kaminsk13
@Kaminsk13 - 26.06.2022 22:13

How do I route domains prefixed with "www"?

Ответить
@paul_johnson
@paul_johnson - 08.04.2022 21:34

great video solved my problem thanks!

Ответить
@yuriyshevchenko3078
@yuriyshevchenko3078 - 06.04.2022 06:28

short and clear explanation. Thank you!

Ответить
@kalvinkazemi124
@kalvinkazemi124 - 13.11.2021 11:37

nice

Ответить
@herquiloidehele9612
@herquiloidehele9612 - 07.09.2021 07:39

great video, very simple. thanks.

Ответить
@nauticaorangewatchbg9923
@nauticaorangewatchbg9923 - 26.08.2021 10:03

Can you please help me out. I'm trying to select the bucket, and the last parameter where i need to chose a resource, its blank. I cant choose the bucket i just created. I have followed every step, and i'm sure that region is correct

Ответить
@manoj6247
@manoj6247 - 30.07.2021 00:39

It actually helped me to understand zone apex and alias and cname difference and how to use.

Ответить