How to Limit a Google Search to a Specific Domain

Search within only one website with this tip

What to Know

  • For a single domain, type site: and website URL (no spaces), add a space after URL, type in search term.
  • For multiple sites, type site: and website URL (no spaces) for each website, then add OR between each entry.

This article explains how to use Google to search individual website domains for your desired topics. For example, searching .edu sites or some other top-level domain (TLD) for info about the Jurassic period.

How to Search a Single Domain

Here's how to limit your searches to one website or TLD:

Filtering Google search results by URL isn't the same as filtering URLs by certain words. The former is what we talk about here on this page, but if you want to do the latter and find URLs that match your searches, use the inurl command instead (there's an example in step 2 below).

  1. Type site: in the search field, without adding a space after it.

  2. Type the TLD or website URL that you want to confine the results to, add a space, and then enter a regular search term.

    Google site search for best apps on Lifewire

    Here are some examples:

    • site:edu school
    • site:gov "George Washington"
    • OLED
    • tech
    • "prime day"
    • filetype:pdf mars
    • inurl:2017 report
  3. Press Enter to begin the search.

How to Search Multiple Websites at the Same Time

Similar to searching through a single website, Google lets you duplicate the command to search through multiple domains at once. Essentially, it's as if you're running a typical search across the entire web, but instead of sifting through the plethora of websites out there, you're limiting the results to the few that you really want to pay attention to.

For example, here's a search you could perform to find everything that Lifewire and NASA has on electric vehicles: OR "electric vehicles"

The trick to get this to work is to employ OR. This gives Google permission to list either source. If you don't add this to the search, you'll get zero results.

Just like we did above with the single site search, you can tack on several other search parameters. Here's a longer example that further constricts the results: OR intitle:cryptography filetype:pdf

More Google Search Tips

Using the site: command in a Google search is one way to narrow down the results to help you find what you're looking for, but there are plenty of other search commands, too.

For example, filetype is used to search Google for files that have a specific file extension, inurl shows only results with that term in the URL, and quotes used around phrases group terms together.

As you can see in some of those examples above, you can combine other search commands with site: for even more relevant results.

Was this page helpful?