Site (same-site)
A site is the scheme and the registrable domain of a URL, for example https://example.com. Two URLs are same-site when both parts match, even if the subdomains or ports are different.
Concept
Also called Same-site, Registrable domain, eTLD+1
Updated
On this page
Example
URLs
https://www.example.com and https://app.example.com same site https://example.com and https://example.com:8080 same site https://example.com and http://example.com cross-site https://shop.example and https://widget.example cross-site
All four pairs are cross-origin. Only the last two pairs are cross-site.
Learn more
Sources