Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

Let's say I ran the following query in Google's web search:

site:"superuser.com" "windows 7"

This will return results on the blog.superuser.com subdomain.

How can I restrict results to only be from the superuser.com domain and not any other subdomain?

share|improve this question

1 Answer 1

Rather than using the site: search operator try using inurl: instead along with the + operator. Seems to work pretty well for me.

asd +[inurl:http://stackexchange.com]

or in the case of this question:

"windows 7" +[inurl:http://superuser.com]

Note: Posting this answer in response to this recent duplicate question

Tests for other sites

  • newspulse +[inurl:http://cnn.com] no newspulse.cnn.com
  • The Latest Scripts from JavaScript Source +[inurl:http://internet.com] no javascript.internet.com
share|improve this answer
This doesn't work for me, at least not from mobile. –  Drazen Bjelovuk May 8 at 6:54

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.