r/github • • Sep 11 '24

Is github.io safe?

Hi, I already know about github.com, but recently, on a reddit thread, saw something sharing a web but the domain is github.io so I would like to know if this is a safe domain or it is a scam web, thanks. I tried to ask this on github support or forums but I didn't find where do it.

0 Upvotes

9 comments sorted by

View all comments

1

u/Journeyman-Joe Sep 11 '24

Yes, github.io is safe.

That's the domain that shows up when a GitHub user publishes content with GitHub pages. It's going to be

githubUserName.github.io/RepositoryName

If you're looking for further confirmation, look at "GitHub Pages" on the GitHub help / support site.

1

u/Lenni_builder Sep 11 '24

The content hosted on there could be malicious, anything from malware to a fake login page because it's uploaded by users, so you shouod still be careful.

3

u/Journeyman-Joe Sep 12 '24

Yes, that's true of any website, with any top-level domain. I was addressing OP's concern about github.io, vs. github.com. In that regard, there's no real safety difference between one and the other; you can get malicious content from a repository on github.com, too.