It looks like you're using Internet Explorer 11 or older. This website works best with modern browsers such as the latest versions of Chrome, Firefox, Safari, and Edge. If you continue with this browser, you may see unexpected results.
Advanced Google Search: Home
Once you have run a search on any topic in Google, look at your Results page
You will see a link for Settings at the top. Click on this
This will bring up a menu which includes Advanced Search, choose this:
The Advanced search page which comes up allows you many options to refine your search - including to search by Domain, like .gov or .edu (as below in the example)