euanwm / OpenWeightlifting

Repository that is deployed for the OpenWeightlifting site
https://www.openweightlifting.org
BSD 3-Clause "New" or "Revised" License
31 stars 21 forks source link

No redirect on https://openweightlifting.org/ #362

Closed sstangl closed 1 month ago

sstangl commented 1 month ago

When trying to visit the site, I often type openweightlifting.org into my browser's URL bar. This then auto-completes the protocol to the URL https://openweightlifting.org/, which fails to load, because it does not have a DNS entry. The site is only available if I type the full www.openweightlifting.org.

In Firefox and Chrome, openweightlifting.org fails to load. In Safari, it appears to initially fail to load, but then automatically tries prepending www., which then succeeds.

I believe this requires an A record at the root, which requires a static IP address. I think you're using an AWS service that does not give a static address. One way around that could be to use an A record pointing to GitHub Pages, which would host a small auto-redirect to www.openweightlifting.org.

euanwm commented 1 month ago

@sstangl Should be a quick fix, looks like I didn't tick a box. Waiting for the changes to start working / breaking things.

euanwm commented 1 month ago

@sstangl Think that's it configured now. Let me know.

sstangl commented 1 month ago

Thanks! It works great.