With dupal: We can set up multiple websites on the same source by following these steps
1. (Important) (n) configuration for your domain name with a cursor on a web server. If you do not know how to configure the domain provider is ready to assist you. Upon this, suppose, in your web server file / home / username / public_html / test.html then, when accessed via YourDomain001.com/test.html or YourDomain002.com/test.html or ... the content is displayed as the content is stored on your web server.
2. Download source Drupal (7.5) to / public_html yours, so that, at this file structure is:
public_html / include / *
public_html / misc / *
public_html / modules / *
public_html / profiles / *
public_html / scripts / *
public_html / sites / *
public_html / themes / *
public_html / .htaccess
public_html / ...
3. Database connection: For the operation, Drupal needs to get connected to information databases. Depending on the access URL, to connect to the database, Drupal will look for files in the directory settings.php sites / xxx / settings.php, with xxx is one of the following values, lower-priority gradually (assuming access URL is
http://www.drupal.org/mysite/test/):
1. sites /
www.drupal.org.mysite.test
2. sites / drupal.org.mysite.test
3. sites / org.mysite.test
4. sites /
www.drupal.org.mysite
5. sites / drupal.org.mysite
6. sites / org.mysite
7. sites /
www.drupal.org
8. sites / drupal.org
9. sites / org
10. sites / default
Thus, (n) to your website can function on (n) different database but only uses one source Drupal. And if there are serious security flaws were discovered in Drupal 5.7, it should switch to 5.8, you just upload once only.
4. Module and interface: Surely this time, we discovered several problems occur: How if we want to use the ABC module in YourDomain001.com site is version 1.0, also at the site YourDomain002.com is version 2.0? How valid theme XYZ at site 1, site 2 is not?
Also according to rules search settings.php file in the previous step, Drupal will also find additional modules / interface depending on URL access. For example, if you put in the form XYZ sites/YourSite001.com/themes/XYZ theme / *.* then of course, this theme is not valid when source code access to another domain YourSite001.com