Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: Video.js (HTML5 Video Player) 10.0.0-alpha1 First alpha version released for module videojs (10.0.0-alpha1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Domain

11,493 sites Security covered Drupal 10–11 Domain ecosystem
View on drupal.org

This project allows you to run multiple affiliated websites from a single Drupal installation and database, sharing users, content, and configurations. It supports distinct domain names, subdomains, and even custom ports for each site. The latest versions also introduce experimental support for distinguishing sites using path prefixes within a single domain.

The Domain 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.

Drupal 10/11 status

Releases in the 2.x and 3.x series are compatible with Drupal 10.2 and higher.

The 2.0.x branch is considered feature complete and will receive bug fixes only.

All new features will be added exclusively to the 3.x branch.

Version 3

Major architectural change introduced in 3.x

Domain 3.x migrates to use Drupal core's Config Collections system for managing domain configuration overrides, replacing the custom override system used in 2.x.

Benefits of the Config Collections approach
  • More standardized approach aligned with Drupal core architecture
  • Better integration with Drupal's native configuration management system
  • Improved performance and cleaner codebase
  • More sustainable long-term solution as it leverages core APIs
  • Future-proof architecture that will be easier to maintain
Path prefix feature

Domain 3.x also introduces path prefix support (experimental), allowing multiple domains to share a single hostname while being distinguished by the first segment of the URL path. For example:

  • example.com/corporate/ — a corporate division
  • example.com/retail/ — a retail division
  • example.com/fr/ — a French-language variant

This is useful for sites that cannot add new hostnames due to corporate firewalls, shared hosting, or single-origin CDN constraints, or simply prefer organizing affiliated sites under a single domain.

Overview

The module allows you to share users, content, and configurations across a group of sites such as:

  • example.com
  • my.example.com
  • thisexample.com — can use any domain string
  • example.com:3000 — treats non-standard ports as unique
  • example.com/section/ — path prefix (3.x only)

By default, these sites share all tables in your Drupal installation.

Installation

Drupal 10.2 and higher

No changes are required to install the module, but certain configurations need to be edited in services.yml. See the README for details.

Technical background

The Domain Access 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.

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).

Contributed Modules

A number of modules have been contributed by other developers to extend the features of Domain Access.

Credits

Development is sponsored by Palantir.net.

Original development was sponsored by Morris DigitalWorks with an assist from DZone.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

21 tracked projects depend on this one

Activity

Tracked releases
48
Tracked since
Jun 2025
Latest release
1 week ago
Releases (12 mo)
47 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
3.1.0-alpha6 Pre-release 10–11 Aug 19, 2026
3.1.0-alpha5 Pre-release 10–11 Aug 19, 2026
4.x-dev Dev 11 Jul 22, 2026
3.1.0-alpha4 Pre-release 10–11 May 30, 2026
3.0.x-dev Dev 10–11 May 9, 2026
3.1.0-alpha3 Pre-release 10–11 May 8, 2026
3.0.1 Stable 10–11 May 8, 2026
3.1.0-alpha2 Pre-release 10–11 May 7, 2026
3.1.0-alpha1 Pre-release 10–11 May 4, 2026
3.0.0 Stable 10–11 Apr 30, 2026
3.0.0-rc3 Pre-release 10–11 Apr 23, 2026
3.0.0-rc2 Pre-release 10–11 Apr 9, 2026
2.0.1 Stable 10–11 Apr 2, 2026
3.0.0-rc1 Pre-release 10–11 Apr 2, 2026
3.0.0-beta9 Pre-release 10–11 Mar 18, 2026
3.0.0-beta8 Pre-release 10–11 Mar 10, 2026
3.0.0-beta7 Pre-release 10–11 Mar 4, 2026
2.0.0 Stable 10–11 Mar 4, 2026
3.0.0-beta6 Pre-release 10–11 Feb 25, 2026
3.0.0-beta5 Pre-release 10–11 Feb 25, 2026
3.0.0-beta4 Pre-release 10–11 Feb 24, 2026
3.0.0-beta3 Pre-release 10–11 Feb 20, 2026
5.x-1.x-dev Dev Feb 4, 2026
2.0.0-rc2 Pre-release 10–11 Feb 4, 2026
3.0.0-beta2 Pre-release 10–11 Feb 4, 2026
3.0.0-beta1 Pre-release 10–11 Jan 6, 2026
2.0.0-rc1 Pre-release 10–11 Jan 6, 2026
3.0.0-alpha14 Pre-release 10–11 Dec 23, 2025
3.0.0-alpha13 Pre-release 10–11 Nov 17, 2025
2.0.0-beta8 Pre-release 10–11 Nov 12, 2025
3.0.0-alpha12 Pre-release 10–11 Nov 10, 2025
3.0.0-alpha11 Pre-release 10–11 Nov 3, 2025
2.0.0-beta7 Pre-release 10–11 Oct 27, 2025
3.0.0-alpha10 Pre-release 10–11 Oct 27, 2025
3.0.0-alpha9 Pre-release 10–11 Oct 13, 2025
3.0.0-alpha8 Pre-release 10–11 Oct 6, 2025
2.0.0-beta6 Pre-release 10–11 Oct 6, 2025
2.0.0-beta5 Pre-release 10–11 Oct 3, 2025
3.0.0-alpha7 Pre-release 10–11 Sep 27, 2025
3.0.0-alpha6 Pre-release 10–11 Sep 18, 2025
3.0.0-alpha5 Pre-release 10–11 Sep 10, 2025
3.0.0-alpha4 Pre-release 10–11 Sep 9, 2025
3.0.0-alpha3 Pre-release 10–11 Sep 5, 2025
3.0.0-alpha2 Pre-release 10–11 Sep 4, 2025
3.0.0-alpha1 Pre-release 10–11 Sep 3, 2025
3.x-dev Dev 10–11 Sep 3, 2025
2.0.0-beta4 Pre-release 10–11 Sep 3, 2025
2.0.0-beta3 Pre-release 10–11 Jun 19, 2025