The standard way of doing this is called a "multi-site". It allows you to use the same codebase for multiple sites. Each site in a multi-site has its own settings.php
, so you may use different databases or the same database (this is controlled by the database settings in settings.php
.
To use a different logo, just go to appearance > settings
and upload a different image for the logo.
Here is a link to my tutorial about setting up a multi-site: http://heim.ifi.uio.no/gisle/staging2/drupalprimer/drupal/drupal_install.html#multi http://wikihandbooks.com/drupal7/intro_multisite.html
There is also instructions at Drupal.org: https://drupal.org/documentation/install/multi-sitehttps://www.drupal.org/docs/7/multisite/multi-site-sharing-the-same-code-base