LastPass URL Rules

Separating Passwords by Sub-domain

Daniel J Breen
1 min readDec 12, 2017

Our office has several passwords for multiple sites that have the same domain but are differentiated by their sub-domain. Specifically, we’re using TeamCity for builds, Octopus Deploy for deployments, and we have a development environment at the same domain to top it all off. builds.domain.com, deploy.domain.com, and dev.domain.com respectively.

I found it profoundly annoying that LastPass would suggest passwords for all 3 sites regardless of the sub-domain. Finally, after a few minutes of googling, I found a solution though it was missing the last step. Below, you will find the solution to this problem along with ALL of the steps to correct this nuisance.

Create the Rule

  1. Click the LastPass icon in Chrome
  2. Click Open my Vault from the drop-down menu
  3. Click Account Settings in the left navigation panel
  4. Click the URL Rules Tab in the modal
  5. Enter the URL without any subdomains in the Domain or Host input
  6. Make sure Yes is selected for Exact Host Match
  7. Click Add
  8. IMPORTANT: Log out of LastPass, then log back in

--

--