Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 3
Message 41 of 51

Re: Does GitHub Pages Support HTTPS for www and @ subdomains?

Cross-posted at https://github.com/isaacs/github/issues/1675, hopefully this can get some more visibility...

Highlighted
Ground Controller Lvl 1
Message 42 of 51

Re: Does GitHub Pages Support HTTPS for www and @ subdomains?

When is this coming? +1

Highlighted
Ground Controller Lvl 2
Message 43 of 51

Re: Does GitHub Pages Support HTTPS for www and @ subdomains?

Highlighted
Ground Controller Lvl 2
Message 44 of 51

Re: Does GitHub Pages Support HTTPS for www and @ subdomains?

Yikes, it's been two years and this still isn't implemented. I'll probably look into a different host for my webpages. You get what you pay for I guess.
Highlighted
Ground Controller Lvl 2
Message 45 of 51

Re: Does GitHub Pages Support HTTPS for www and @ subdomains?

Hi guys, this is march 2020 and I am still having this issue, why havn't Github team responded yet?

Highlighted
Copilot Lvl 2
Message 46 of 51

Re: Does GitHub Pages Support HTTPS for www and @ subdomains?

Finally found a workaround to this today!

 

What I did was

  • In the DNS Editor of my domain (I use GoDaddy) I added a CNAME with www as the host, which points to ourcompany.github.io
  • In the settings on the repository where I used to have salt.dev - I switched it to be www.salt.dev
  • The CNAME file in my repository just contains salt.dev

 

Now it works properly for me.

https://www.salt.dev/

https://salt.dev/

Highlighted
Ground Controller Lvl 1
Message 47 of 51

Re: Does GitHub Pages Support HTTPS for www and @ subdomains?

@miesmandoki You just fixed it temporarily, because it already created the SSL certificate for salt.dev (without the www), and by switching it now also created the SSL certificate for www.salt.dev, but it will only renew the latter, so when the SSL certificates expires, you'll have the same problem

Highlighted
Copilot Lvl 2
Message 48 of 51

Re: Does GitHub Pages Support HTTPS for www and @ subdomains?

 


@laurensV wrote:

@miesmandoki You just fixed it temporarily, because it already created the SSL certificate for salt.dev (without the www), and by switching it now also created the SSL certificate for www.salt.dev, but it will only renew the latter, so when the SSL certificates expires, you'll have the same problem


 

Are you sure?

 

If that's the case - then all I'd need to do is switch it back and forth once every three months to renew the certificates, correct?

Highlighted
Copilot Lvl 2
Message 49 of 51

Re: Does GitHub Pages Support HTTPS for www and @ subdomains?

If that's all it takes and the certificate is still available, this definitely seems like something GitHub should go ahead and implement...

Highlighted
Ground Controller Lvl 1
Message 50 of 51

Re: Does GitHub Pages Support HTTPS for www and @ subdomains?


@Tsmith18256 wrote:

I got one of the new .app TLDs that went live today, and I am trying to point it to Github pages. I want the default URL to be without the www (host: @) and for the www to redirect to the default. I have set the domain without www in my pages repo settings, enabled https, and done the A and CNAME records in my DNS.

 

The A record is working fine, it loads my site with no www. The CNAME for www is causing an issue with the SSL certificate though. If I open the site in Edge, postman, curl, etc, it works fine; however, .app requires HTTPS and Chrome knows that, so it doesn't even bother trying http and goes straight to the HTTPS version when you type www. This gets an error because Github returns the github.com certificate, and not my own.

 

Is there a fix for this?


yes how?
thank