Community Documentation

Domain Access

Last updated August 4, 2011. Created by agentrickard on April 13, 2009.
Edited by amateescu, nonsie, Hanno, LeeHunter. Log in to edit this page.

The Domain Access project is a group of lightweight 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:

- example.com
- one.example.com
- two.example.com
- my.example.com
- thisexample.com <-- can use any domain string
- example.com:3000 <-- treats non-standard ports as unique

By default, these sites share all tables in your Drupal installation. The Domain Prefix module allows for selective, dynamic table prefixing for advanced users.

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.

Most of the documentation for Domain Access can be found in its README.txt file.

Page status

About this page

Drupal version
Drupal 5.x, Drupal 6.x
Audience
Developers and coders, Site administrators

Installation guide

Drupal’s online documentation is © 2000-2012 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.