Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Route 53 domain only works when prefixed with http(s)://

I have an application that runs fine in AWS App Runner and can be found here: https://iyarles.net

However, it’s not accessible via the naked domain name iyarles.net.
Clarification comment: If I goto iyarles.net in my browser (edge), the request times out. If I goto iyarles.net, my website loads fine.

The App Runner service has a custom domain configured and my hosted zone has the 2 certificate validation records and the alias record pointing to my service.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

A few weeks ago I transferred my domain from Google Domains to Route 53. It was originally a redirect from iyarles.net or any other subdomain (with or without https://) to the default domain for my service.

How can I replicate the previous behavior? What exactly are these alias records doing?

>Solution :

When you type the hostname into the browsers address bar, browsers will assume you want to make a plain HTTP request.

When you explicitly include the https: scheme, browsers will make a secure HTTP request.

Your server is running an encrypted service on port 433. It is not running a plain service on port 80.

It times out if you type http://iyarles.net too.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading