Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I have a different passwords for:

  1. www.example.com/foo/login and
  2. www.example.com/bar/login

It seems as if the keychain only saves the passwords in relation to the sitename as it does not make distinctions by the subdomain.

When I visit www.example.com/foo/login the keychain will save the password correctly, but when I visit www.example.com/bar/login afterwards it uses the password of the first page and doesn't let me create a new password for the subdomain.

Is there any solution to this problem?

share|improve this question
Just as a side note: 1Password can store a different passwords for different domains, I guess it should also work for subdomains. Just create two logins and change the URL entry. It's currently on sale in the Mac App Store. –  gentmatt Nov 26 '12 at 15:08
@gentmatt well it seems to be a good app but I would like to manage to configure keychain correctly and use this. In keychain I create two logins for the two subdomains and place them in the "where" fields but it doesn't make any difference. It is as if it only checks the domain only. Is it actually is a subfolder in the domain? Is that important? –  miako Nov 26 '12 at 20:28
I've edited your question in an attempt to attract more attention to it and make it easier to read. Let's hope someone around here will be able to help you. :) –  gentmatt Nov 26 '12 at 20:55
@gentmatt thank you for the edit. much better –  miako Nov 26 '12 at 21:23

1 Answer 1

up vote 2 down vote accepted

No - you'll want a more full featured password manager like the one gentmatt recommended in the comments.

You could do some kludgey web proxy to give the subdomain a separate top level domain, but that's way more hassle than most would consider appropriate for solving the problem you pose.

share|improve this answer
I see. I liked keychain and i wanted to stick with it. –  miako Nov 26 '12 at 21:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.