# Is browsing Github pages more private?

**URL:** https://discuss.privacyguides.net/t/is-browsing-github-pages-more-private/12407
**Category:** Questions
**Created:** 2023-04-19T22:51:43Z
**Posts:** 4

## Post 1 by @avp — 2023-04-19T22:51:43Z

In “[Why not use encrypted DNS](https://www.privacyguides.org/en/advanced/dns-overview/#why-shouldnt-i-use-encrypted-dns)”:

> This method is only useful when the IP address belongs to a server that only hosts few websites. It’s also not very useful if the site is hosted on a shared platform (e.g. Github Pages, Cloudflare Pages, Netlify, WordPress, Blogger, etc.).

But I thought that the [subdomain](https://madaidans-insecurities.github.io/images/wireshark-sni.jpg) of a website also shows up for ISP, and all the given examples use subdomains not URL to separate websites. i.e: `example.github.io` instead of `github.io/example`. In the latter case, ISP can’t know you’re accessing “example” but in the first one can know.

---

## Post 2 by @jonah — 2023-04-19T23:33:09Z

That quote is from the section discussing identifying websites via IP address specifically.

---

## Post 3 by @avp — 2023-04-20T02:16:44Z

So unless SNI is encrypted, accessing Github and the other sites don’t have privacy advantage over accessing regular websites?

---

## Post 4 by @jonah — 2023-04-20T14:03:18Z

There’s probably just a minimal advantage, I wouldn’t consider it private. The page is discussing IP/website correlation specifically, imagine this:

If you are **not** using Encrypted DNS, and your ISP **only** inspects DNS queries and IP traffic,

- When you visit `site-a.github.io`,
  - Your ISP sees you made a DNS request for `site-a.github.io`
  - Your ISP sees you connected to `185.199.108.153` (and knows this IP belongs to GitHub)

- When you visit `site-b.github.io`
  - Your ISP sees you made a DNS request for `site-a.github.io`
  - Your ISP sees you connected to `185.199.108.153`

Thus, your ISP can tell when you visit Site A or Site B specifically. But, if you are using encrypted DNS:

- When you visit `site-a.github.io`,
  - Your ISP can’t see your DNS request
  - Your ISP sees you connected to `185.199.108.153` (and knows this IP belongs to GitHub)

- When you visit `site-b.github.io`
  - Your ISP can’t see your DNS request
  - Your ISP sees you connected to `185.199.108.153`

Thus, your ISP **can’t** tell when you visit Site A or Site B specifically, just that you visited some site hosted by GitHub on that IP.

But, we don’t live in a perfect world, and as you pointed out, [SNI](https://www.privacyguides.org/en/advanced/dns-overview/#server-name-indication-sni) (and [OCSP](https://www.privacyguides.org/en/advanced/dns-overview/#online-certificate-status-protocol-ocsp)) also leak the domain you’re visiting. So realistically yes, there isn’t much of a privacy advantage to visiting sites on shared hosting.
