Drupal Multi-site - Sharing the same code base

Here I dont want explain more! just simple steps:

1.Install Drupal with default setting:
Now your website is available at

2.Create New subdomain, we call that "sub"

How To Use Registry Rebuild With Drush in multisite

There are times in Drupal 7 when the registry gets hopelessly hosed and you need to rebuild the registry (a list of PHP classes and the files they go with). Sometimes, though, you can't do this regular cache-clear activity because some class is required when the system is trying to bootstrap. (such as moving modules folder to another folders / multisite things)

This is the preferred technique, and it should work with multisite installs.