Add Google Search to Your Site
Firstly, Google
provide a nice site to craft your own.
That's okay for novices, but let's say we want to roll our own.
The search variable we are going to manipulate is called
sitesearch. Leaving this value blank, means we're searching everything, adding
your domain name and then it'll only search your site.
Source Code
Live Version