Please read the upgrade instructions for users of 7.x.2 before updating the code to a 7.x.3 release.
The Domain Access project is a suite of modules that provide tools for running a group of affiliated sites from one Drupal installation and a single shared database. The module allows you to share users, content, and configurations across a group of sites such as:
By default, these sites share all tables in your Drupal installation. The Domain Prefix module allows for selective, dynamic table prefixing for advanced users.
Technical background
The module uses Drupal's Node Access system to determine what content is available on each site in the network. Unlike other multi-domain modules for Drupal, the Domain Access module determines user access based on the active domain that the user is viewing, rather than which group or site the user belongs to. For more information about Node Access in Drupal, see http://api.drupal.org/api/group/node_access/7
模块使用Drupal' s结确定什么的通入系统内容是可利用的在每个站点在网络。 不同于Drupal的其他多领域模块,领域通入模块确定根据小组或选址用户属于的活跃领域的用户存取用户观看,而不是。 关于在Drupal的结通入的更多信息,看见。
This module uses some advanced Drupal concepts and requires that you understand and control your site's DNS configuration. See this case-study or this more recent Row Eleven Wine Co. post for more details about using Domain Access.
You can also watch video of the DrupalCON Paris session "Managing Multiple Sites with Domain Access" (from 2009).
If you are looking for a module to provide subdomains to users and groups and do not need to affiliate content, take a look at Subdomain.
Upgrading to Drupal 7
If you use Domain Access on Drupal 6, these steps are required for a smooth site upgrade.
For users of 6.x.1 or 5.x., See the Domain Access UPGRADE.txt for complete instructions for upgrading to 6.x.2 or 7.x.
Release status
Drupal 7
The 7.x.2 branch is now bugfix only. It is stable and supported.
See the upgrade instructions for users of 7.x.2 before updating your site's code to 7.x.3.
Users of 6.x.2 versions may upgrade directly to 7.x.3 or 7.x.2.
Drupal 6
The Drupal 6 version is supported but now in bugfix-only mode. New features go into Drupal 7 and may get backported.
Drupal 5
Use at your own risk. Stable but unsupported.
Extension modules
The Domain Access module works by itself and needs no additional modules. Included in the download are these helper modules that extend the features of Domain Access.
Included in the Domain package for Drupal 6.x.2.0
Linked items are stand-alone modules in the Drupal 7 release.
Stand-alone Projects
To speed development of new features, I will be spinning certain aspects of the Domain Access suite into separate projects, starting after the stable 6.x.2.0 release.
Contributed Modules
A number of modules have been contributed by other developers to extend the features of Domain Access.
Credits and examples
Development is sponsored by Palantir.net.
Original development was sponsored by Morris DigitalWorks with an assist from DZone.
Developer's API (Drupal 6) is online at http://api.therickards.com/api/domain