Site upgrades are easy to use with Drupal multisite settings

Source: Internet
Author: User
Keywords Drupal

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Maintain a lot of sites, upgrade the site is a very headache, but fortunately can take advantage of Drupal multi-site features, easy maintenance of multiple sites. Now let's show you how to build multiple independent sites with Drupal.

Before this forum has a Drupal in Windows to set up multi-site instructions, but the focus on the settings, many novice may not understand, the virtual host users do not know how to do. This article is to illustrate the nature of Drupal multi-site, so that everyone can set up their own host based on their own.

First of all, explain which host environment can be set up multiple sites, as long as the two domain names can be pointed to the same directory can, mainly include the following:

1. Have server control permissions. This needless to say, whatever you do toss;

2. Has the independent IP host, as long as the domain name resolves to the independent IP to be possible to visit;

3. Can parked the domain name host, or addon to the same directory host, this basic all United States host can do. About this host information please refer to the U.S. host detective content;

Next, how to set up multi-site, very simple, not because many articles mentioned in the Server Settings section scared, not so scary. Specific server settings We do not talk, as long as we can do one thing, the domain name of each site to point (bound) to the same directory, can also be a better understanding of the saying, all the other domain names are parked a domain name. Method Each host is not the same, but for most virtual hosts through the panel can be set, do not have to move the server settings. Chanel settings Please refer to: Http://kb.idcspy.com/CPanel

We set up two sites as an example to illustrate:

1. First upload all documents to the website directory;

2. Create a new directory under Sites/, the name of the file with the second site's domain name, such as 83blog.com can use the subdomain, do not need to take www;

3. Copy the documents under Sites/default to Sites/83blog.com (that is, the newly-created directory);

4. Copy the default.settings.php under Sites/default sites/83blog.com to the same directory, named Settings.php. (Note: Do not delete default.settings.php) to set settings.php to writable;

5. Build two databases (several sites are built)

6. Visit the first site's domain name to install Drupal. installation process See: http://bbs.zzbaike.com/thread-932-1-1.html

7. Visit the domain name of the second Web site and repeat the installation steps above.

8. Repeat the 2,3,4,5,7 step if you want to install more sites.

A few notes:

1. All sites have only one Drupal file, easy to maintain. The directory of all sites is the same, unified by index.php to deal with

2. If you set up different modules and themes for each Web site, set up the Themes modules directory under the Site configuration directory (that is, the previous 83blog.com directory), and install the theme and modules in these directories. If you are sharing themes and modules for all sites, install the Themes modules directory in the root directory

3. Other sites can also be placed in subdirectories (in fact, the URL in the form of subdirectories, such as 83blog.com/drupal), then the name of the configuration directory 83blog.com.drupal can be.

Lone Wolf in the desert original, starting in http://bbs.zzbaike.com/thread-7345-1-1.html, reproduced please specify.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.