Password Manager Autofill on the Wrong Subdomain: Diagnose the URL Match

Troubleshoot password manager autofill on the wrong subdomain by comparing hostnames, checking saved login addresses, and spotting lookalike sites.

Published
Reading time
6 min read
Password Manager Autofill on the Wrong Subdomain: Diagnose the URL Match
On this page

A password manager suggesting a login on an unexpected subdomain can be confusing. It does not automatically mean the site is malicious, but it is worth checking the address before filling or submitting a password. This guide shows how to compare the browser URL with the saved login and decide what to do next.

Key Takeaways

  • Compare the full hostname in your browser with the hostname you intended to visit and the website address saved in your password manager.
  • Related subdomains can serve different purposes or be operated by different organizations. A shared domain does not establish that a page is trustworthy.
  • Password managers use different matching rules. Check your own manager's official help for its behavior and settings.
  • If a password may have been exposed to an untrusted page, change it through a verified route to the legitimate service.

Understand the parts of the address

Consider this fictional address:

https://login.example.com/account
  • https is the scheme, indicating an encrypted connection. It does not prove that the website is legitimate.
  • login.example.com is the hostname: the part identifying the host you are visiting.
  • login is a subdomain of example.com.
  • example.com is the registrable domain in this example: the domain under which someone can register names and create subdomains.
  • /account is a path on that host, not part of the hostname.

Compare the hostname from right to left. In example.com.attacker.test, the hostname ends in attacker.test, not example.com. The word example appearing earlier in the address does not make it an example.com site.

The registrable domain is not always simply the last two labels. For example, some domain suffixes contain multiple labels. When in doubt, use your password manager's documentation or another authoritative source to understand how a particular domain is classified rather than guessing from the number of dots.

Advertisement

Compare the browser URL with the intended site

  1. Stop before entering or submitting credentials. If a login has already been filled, avoid submitting the form while you investigate.
  2. Select the browser's address bar to see the full address; browsers may shorten the display when it is not selected. Find the hostname between https:// and the next slash, if present. A port may also appear after the hostname, separated by a colon.
  3. Compare it with the address you intended to visit. For instance, accounts.example.com and shop.example.com are different hostnames, even though both sit under example.com.
  4. Open the site through an independently verified route, such as a bookmark you previously checked against the organization's official materials. Compare that address with the page that prompted the autofill.

Be alert to lookalikes such as example-support.com versus support.example.com, extra labels at the end of a hostname, and small spelling differences. Do not rely on the logo or page design to resolve a mismatch: those can be copied.

Some addresses contain account identifiers, sign-in tokens, or other sensitive information in the path or query string. You can usually compare hostnames without copying or sharing the full URL. Avoid pasting private addresses into online tools, support forums, or messages.

Internationalized domain names

A hostname can contain characters from different writing systems, some of which look alike. Browsers may display an internationalized name as Unicode or in its ASCII form. For example, the illustrative hostname bücher.example has the ASCII form xn--bcher-kva.example.

If the spelling or character set is unexpected, do not proceed based on appearance alone. Navigate through a verified route and compare the address there. A visual inspection cannot reliably detect every lookalike.

Check the saved login safely

Open your password manager directly, unlock it privately, and find the affected login. You generally do not need to reveal or copy the password to inspect the saved website address.

  1. Look at the saved website address or addresses and compare their hostnames with the verified site and the page where the suggestion appeared.
  2. Check for a typo, an old address, or an address for a different service. Some entries may have more than one associated website, depending on the manager.
  3. Consult your manager's official help, accessed from its app or an independently verified support site, for its URL-matching rules and any per-entry matching controls. A suggestion on a related hostname may reflect its matching behavior rather than a saved-address typo.
  4. If the saved address is wrong, edit it to the verified address and save the change. If the manager supports separate entries or matching controls, consider those for genuinely separate accounts. Check whether changing an entry affects other sites where you use it.
  5. Return to the verified site and check the suggestion again. Do not test by submitting credentials on the questionable page.

Password manager behavior varies by product, configuration, and version. Vendor documentation was not available to consult for this article, so these steps do not claim a particular product's matching defaults. Use the instructions for your own manager before changing its settings.

Advertisement

Separate account portals and other mismatches

An organization may use separate portals such as staff.example.com and customers.example.com. They may use the same sign-in system, or they may have distinct accounts and security boundaries. A password suggestion alone does not tell you which is true. Check the organization's instructions, and keep separate saved entries when the accounts are different.

A legitimate service may also send you to a sign-in provider on a different domain. Verify that destination through the service's official instructions rather than assuming every different domain is fraudulent—or that every related subdomain is safe. If you cannot verify the relationship, stop and contact the service through a known support channel.

If credentials may have been exposed

If you entered or submitted your password on a page you cannot verify, treat it as potentially exposed. Autofilling on an untrusted page can also expose the value to that page, even if you did not submit the form.

  • Open the legitimate service through an independently verified route and change the password there.
  • If you reused that password elsewhere, change it on those accounts too, starting with important accounts.
  • Review the service's options for signing out other sessions and checking account activity. Enable or review multifactor authentication where available.
  • Contact the service through a known support channel if you cannot access the account or notice unauthorized activity.

If the page was a legitimate but unintended portal, the appropriate response depends on who operates it and what happened to the credentials. When uncertain, contact the service rather than assuming the password was either safe or compromised.

Common Mistakes

  • Looking only for a familiar word. example.com.attacker.test is not a subdomain of example.com.
  • Assuming a padlock proves legitimacy. An encrypted connection can still lead to an untrusted site.
  • Assuming a password suggestion verifies the page. Matching rules help locate credentials; they do not establish who controls a site.
  • Sharing a full account URL for help. It may contain private identifiers or tokens. Remove sensitive parts and share only what is necessary.
  • Changing a saved address before verifying it. Otherwise, you may teach the manager to suggest the login on the wrong site again.

Best Practices

Use distinct passwords for separate accounts, keep verified bookmarks for important services, and review saved website addresses when a service changes its login portal. Learn where your password manager documents its matching rules and how to limit suggestions when appropriate. Treat URL inspection as one check, not proof of a site's trustworthiness.

Conclusion

When autofill appears on the wrong subdomain, compare the full hostname with both the intended site and the saved login. Verify the site's relationship to the service before editing the entry or using the password, and respond promptly if credentials may have reached an untrusted page.

What would your domain sell for?

A free TidyURLs account unlocks the Domain Estimator. It prices a name from 191,011 real domain sales.