How can I limit a Google search to two sites at once?

I can search Serverfault by doing site:serverfault.com windows xp, but I can't seem to figure out how to include another site in my search.

Thanks!

link|improve this question
feedback

closed as off topic by David Pashley, splattne Jul 4 '09 at 10:52

Questions on Server Fault are expected to generally relate to servers, networking, or desktop infrastructure, within the scope defined in the faq.

1 Answer

up vote 10 down vote accepted

It appears to work by doing this:

vbscript site:serverfault.com OR site:stackoverflow.com

Of course, this could be a false positive and would require further testing

Edit: It definitely works, as demonstrated in the Results Summary:

Results 1 - 10 of about 9,080 from serverfault.com OR stackoverflow.com for vbscript. (0.06 seconds)

link|improve this answer
Further confirmation: google.com/… - the first two results are one from each of the sites. By using a less common search term, you don't need to page through so many entries to find the confirmation (or rely only on the summary). – Dennis Williamson Jul 4 '09 at 0:59
+1 It seems to work. – msanford Jul 4 '09 at 1:00
@Dennis - in my example, the 5th result is from serverfault.com... – Izzy Jul 4 '09 at 4:06
Excellent, thanks! – ajm Jul 6 '09 at 15:50
feedback

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