Custom subdomain + www redirection #118658
Replies: 1 comment 1 reply
-
not sure if I'm getting it correctly but It is possible to have a subdomain like Here's how you can do it:
Please note that the Also, keep in mind that GitHub Pages only supports HTTP, not HTTPS, for custom domains. If you need HTTPS, you'll need to use a third-party service like Cloudflare. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
I am trying to deploy my github pages website to custom subdomain.
Repository is there and everything works fine to deploy to https://slidespython.linogaliana.fr (I followed the documentation and set my DNS records as indicated).
However, when adding the www to the URL, i.e.
https://www.slidespython.linogaliana.fr
, I encounter an error.I have checked github pages documentation, for instance this page. There are examples of
www.example.com
orblog.example.com
to set the DNS record approprietely but there are never examples of both at the same time:www.blog.example.com
. I have a redirection working for the www subdomain of my root domain (https://www.linogaliana.fr and https://linogaliana.fr both work fine) but I don't manage to do that for my other subdomains.Is it impossible to do both at the same time ?
Beta Was this translation helpful? Give feedback.
All reactions