Search Engine Sub Results

Hey All,
I've been wondering this for the longest of time. How do you create sub-site results for your website when you search in google. For example, i search for drupal in google, aside from the main result, i can see there are a few sub-site results. Is this something that is configured through rss/xml/site submit? Please advice.
Thank you.
-Mel.