Github page redirecting the github.com

i am unable to use my site due to it redirecting to github.com, i tried fixing it by making an custom domain, but it still redirects me.

github pages link : komas191.github.io

Hi there, Komas191! It looks like your custom domain isn’t fully setup yet. komas19.tk points to a non-GitHub IP address, and the response is a 301 redirect to github.com:

❯ curl -v http://komas19.tk
*   Trying 195.20.40.14:80... <-- this is not pointing at GitHub Pages
* Connected to komas19.tk (195.20.40.14) port 80 (#0)
> GET / HTTP/1.1
> Host: komas19.tk
> User-Agent: curl/7.77.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 301
< Server: nginx
< Date: Tue, 01 Mar 2022 18:51:13 GMT
< Content-Length: 0
< Connection: keep-alive
< Cache-Control: no-cache
< Expires: Thu, 01 Jan 1970 00:00:01 GMT
< Location: http://github.com <-- This is why it redirects to github.com

My guess is the domain registrar has a feature to redirect this domain to a custom origin, which causes this redirect. What you’ll need to do is use DNS to configure an A record to point at our GitHub Pages IP Addresses. Here is some more documentation on how to do that: Managing a custom domain for your GitHub Pages site - GitHub Docs

Hope that helps!

i already did this, and it still does that

DNS changes do take some time to update. From my computer when I query the A record for you domain it’s pointed at a different provider:

❯ dig A komas19.tk

; <<>> DiG 9.10.6 <<>> A komas19.tk
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36441
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;komas19.tk.			IN	A

;; ANSWER SECTION:
komas19.tk.		300	IN	A	195.20.40.14

So if you’ve updated this already with your DNS provider, it may just take some time for those changes to show up everywhere.

still does it, i have waited an day but it didn’t update, also im using an freenom domain and cloudflare for the dns settings

Have you updated the nameservers in freenom to use Cloudflare? If you go to Cloudflare’s dashboard, it may even have instructions on the next steps to take. Freenom has some documentation here on updating the nameservers in their dashboard.

i already did that, when i was using cloudflare for an minecraft server domain, it was working fine

also now there is only the dns settings for github

Sorry about this! I’m not sure how much more help I can be, honestly. Querying DNS, the A record for komas19.tk is still pointed at 195.20.40.14, which is neither GitHub or Cloudflare, so the settings for GitHub Pages or DNS in Cloudflare seem to not be the issue here. There’s something at that IP address that redirects the domain to github.com.

there are reports of that domain registry and I think is true

take a look at the result from WHOIS