Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Domain Microsite

Security covered

Part of the Domain ecosystem · 40 projects

View on drupal.org

Domain Microsite allows creating "microsites" at sub-paths using the Domain module/ecosystem.

Every domain microsite is just a domain entity with extra configuration for a microsite base path and parent domain.

Management of a domain microsite is the same as a regular domain.

Domain Microsite essentially does this:

  1. Determines if a domain microsite is requested based on the incoming path and sets it as the active domain.
  2. Uses path processing to remove microsite base path for the incoming path (the page requested) and prepend microsite base path for outgoing paths (generated urls on a page).

For other modules and forms with path settings, use a path value "relative" to the domain microsite regardless of the label.
Some form fields have labels that display a site url before the field.
To prevent this module from being bloated, it does not make form alterations to change any labels to match the actual domain microsite url.
(The only exception is the Domain records page.)

Installation

  1. Enable module as usual.
  2. Then go to [admin/config/domain] to add a domain record.
  3. At least one regular domain record must already exist. If it doesn't, create one first then return to add another new domain.
  4. Ignore hostname and machine_name because they will be overridden with auto-generated identifiers by this module.
  5. Check "Make domain microsite" and enter values for "Parent domain" and "Base path".
  6. Save to add a domain microsite by path.

Caching issue

Domain currently caches routes a certain way that doesn't work well with Domain Microsite.
See https://www.drupal.org/project/domain/issues/3359253 and use patch #2 to make route caches work.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
12
Tracked since
Jan 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
2.0.0-beta6 Pre-release 9–10 Sep 11, 2024
2.0.0-beta5 Pre-release Jul 8, 2023
2.0.0-beta4 Pre-release Jun 24, 2023
2.0.0-beta3 Pre-release Jun 24, 2023
2.0.0-beta2 Pre-release Jun 24, 2023
2.0.0-beta1 Pre-release Jun 18, 2023
1.0.0-beta6 Pre-release Jun 18, 2023
1.0.0-beta5 Pre-release May 31, 2023
1.0.0-beta4 Pre-release May 26, 2023
2.x-dev Dev May 7, 2023
1.x-dev Dev May 6, 2023
1.0.0-beta3 Pre-release Jan 26, 2023