Open pyfisch opened 4 years ago
@birkenfeld @shimizukawa Could you check this please? I don't know the settings of sphinx-doc.org.
First, AFAICS we're not advertising https://sphinx-doc.org
anywhere.
I checked and this is not trivial. www.sphinx-doc.org is directly CNAMEd to readthedocs, while http://sphinx-doc.org is a stub redirect served directly from Domainfactory. Readthedocs does not support redirect of root domains using A records. Finally, a HTTPS stub redirect would require a SSL cert from Domainfactory, which is not free.
Github pages do support A records, so we could maybe do a construct where the stub is hosted there?
I think there is no reason to provide https://sphinx-doc.org
(without www in hostname. a.k.a. naked domain) newly. So I think it is better to drop the stub redirection.
http://sphinx-doc.org
is referenced in a few places in the repo though, so they should be removed before the redirect is removed.
Isn't it possible to use an ALIAS or ANAME record? https://docs.readthedocs.io/en/stable/custom_domains.html
No, I can't create those at Domainfactory.
Hmm... I think it is hard to move our documents to GitHub pages (or other platforms) because our website is strongly coupled with RTD's feature (ex. i18n, versioning, and so on).
Don't worry, I wasn't suggesting that :) Just have a small HTML page with the redirect on github, instead of what domainfactory automatically provides at the moment as HTTP only.
Ah, okay. I understand. It seems GitHub pages supports an apex domain. How about adding a new repository to do that? https://help.github.com/en/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site#configuring-an-apex-domain
I'm fine with that, let me know when I should change the nameserver entries.
Describe the bug The domain sphinx-doc.org is only served over HTTP and not HTTPS. Therefore the connection fails if one tries to visit https://sphinx-doc.org/.
To Reproduce
Open https://sphinx-doc.org/ in your browser. You will see an error message.
Expected behavior
I am redirected always to https://www.sphinx-doc.org/. This can either be achieved with a CNAME record in DNS or alternatively by serving sphinx-doc.org over HTTPS.
Additional context
dom.security.https_only_mode
in Firefox and therefore see an error message if I try to visit sphinx-doc.org. The main page www.sphinx-doc.org works fine of course.