DEV Community

loading...

Discussion on: SOLVED : Privacy error with custom domain and github pages

Collapse
xelaflash profile image
xelaflash

Not sure about your issue but on my side under the CNAME (in my domain provider config) i have :

githubusername.github.io.

And i remember that it took around a day for Github to generate the https certificate.

Collapse
priteshusadadiya profile image
Pritesh Usadadiya Author

thanks for the input @xelaflash

Collapse
mrprofessor profile image
Rudra Narayan • Edited

True. It just takes some time. For me it took surprisingly 3-4 days. mrprofessor.io

Collapse
priteshusadadiya profile image
Pritesh Usadadiya Author

That seems like the general rule for githhub pages. Error that i was receiving has been changed.

At first the error was "not in compliance with custom domain format" i was not able Enforce HTTPS

Now message has changed to "Please allow 24 hours for this process to complete."

Collapse
keric28 profile image
Keric28

I've been banging my head on this for a while now. Finally found this thread makes me believe I may just need to wait.

I know the thread is okd, just hoping you can confirm for me.
GitHub is setup with custom domain.
Namecheap I have configured with a records to the 4 ips.
GitHub works with https but I'm getting githubs cert from digicert and not one for my site. Are you saying I just need to wait for the cert to generate?

Thread Thread
priteshusadadiya profile image
Pritesh Usadadiya Author

Hi! @keric28

Normally it takes about 24 hours for github to generate certificate for the given domain.

However, you might also want to check for your domains record. As in my case i had created sub domain WWW and pointed to the apex (main) domain. if you are doing something similar then make sure to point it to your *.github.io

Thread Thread
keric28 profile image
Keric28

Yep, had checked that, thanks.

Time heals all wounds. And apparently GitHub pages cert errors. It's working :)