Parse the URL before deciding membership
A URL has several parts. For this task, separate the hostname from everything after it:
https://shop.example.com/products/42→ hostnameshop.example.com, path/products/42https://shop.example.com/cart→ hostnameshop.example.com, path/carthttps://docs.example.com/start→ hostnamedocs.example.com, path/start
The path identifies a page or section on a host. It is not the grouping boundary here. Two pages with different paths can share one group when their hostnames match exactly.
Do not broaden the rule to the registrable domain automatically. shop.example.com, docs.example.com, and mail.example.com may represent related services, but their hostnames differ. Grouping them together requires a separate, explicit decision rather than an assumption based on the shared brand.
Apply the rule to a Chrome tab set
Assume one ordinary window contains these tabs:
https://shop.example.com/products/42https://shop.example.com/carthttps://docs.example.com/starthttps://news.example.net/story- A pinned tab on
https://shop.example.com/account
This is an illustrative classification, not a measured product test. The first two tabs have the exact hostname shop.example.com, so they are candidates for one group. Their different URL paths do not exclude either tab.
The documentation tab has hostname docs.example.com. It should not join the shop group under an exact-host rule. Since it has only one tab in this example, you can leave it ungrouped instead of creating a one-tab group.
The news tab is unrelated and has no matching hostname in the set. Leave it unchanged. The pinned shop tab also remains separate: matching hostname does not override its pinned status. The expected result is therefore one proposed group containing the two ordinary shop tabs, with the documentation, news, and pinned tabs outside that group.
Review proposed groups before applying them
Group Tabs by Site can show proposed groups by hostname, including the tabs assigned to each group. In the preview, compare shop.example.com with docs.example.com rather than relying on the visible brand name. Select only intended sites, and choose whether a site with one tab should remain separate.
The preview also identifies pinned, excluded, and already-grouped tabs that will stay ungrouped. This makes the membership decision inspectable before any change. If the preview places a tab outside the expected hostname, check its complete URL; a redirect or alternate host may explain the difference.
When browser tab-grouping support is available, select the relevant normal Chrome window, inspect the hostname groups, and apply only the selected sites. The operation organizes live tabs. It does not save the tab set, hide tabs, rename sites automatically, or trigger itself later.
Keep window boundaries explicit
Repeat the decision independently in each selected normal window. If shop.example.com is open in two windows, the tabs can be grouped within their respective windows, but they should not be moved across windows to form one global group.
Private windows are excluded, and pinned tabs stay separate. Existing groups also remain unchanged unless you explicitly choose an action that adds eligible tabs to one in the same window. These limits prevent a hostname match from causing unrelated layout changes.
Final membership check
Before confirming, ask four questions:
- Do candidate tabs have the same exact hostname?
- Am I ignoring path differences rather than treating paths as sites?
- Should singleton sites remain ungrouped?
- Are pinned tabs, private windows, and existing groups outside the proposed change?
If the answer is clear, apply the selected groups. If docs.example.com was included only because it resembles shop.example.com, stop and remove it from the selection. Exact-host grouping answers the domain question consistently without turning every related subdomain into one broad site group.