Enforce HTTPS problem with DNS

I’m having a lot of problem with my website hosted from github, for a period my website has been worked with that DNS codes I setted, but now it doesn’t work because it can set a secure https connection can someone of you help me

Update: I’ve readen that I’ve to change my DNS on namecheap (my domain’s software) but I have no idea of what DNS i’ve to set now

check this out, it might be your that your DNS is improperly misconfigured too,