Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Domain

11,278 sites Security covered 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.

Activity

Total releases
45
First release
Jun 2025
Latest release
1 month ago
Releases (12 mo)
44 ▲ from 1
Maintenance
Active

Release Timeline

Releases

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