How to match SLD to select subdomains

I’m reworking my home network and am having some difficulty coming up with a rule to match some internal sites to external SSO providers. I think I’m looking for something like an “equivalent subdomains” capability, but I don’t think that’s possible through equivalent domains.

Example

I want a rule which matches:

  • example.com
  • app.domain.home.arpa

But does not match:

  • other.domain.home.arpa

I haven’t found an intuitive way to do this. The closest I’ve gotten is using a regex matching rule, but in that case I’m not sure the best way to go about matching example.com to app.domain.home.arpa without losing example.com’s default matching to:

  • sub.example.com
  • equivalent-to-example.com
  • sub.equivalent-to-example.com
  • etc.

Is there something which handles this scenario? If not, is there any guidance on how to achieve this?

@brimaz Welcome to the forum!

Have you tried defining more than one URI in the login item? You can separately configure the URI match detection rules for each stored URI, so you could store example.com with matching set to Base Domain, and store https://app.domain.home.arpa with matching set to Host.

I forgot that was an option. This works perfectly.

Thank you!

1 Like