Hello,

I am using Drupal 8 environment.

I installed domain access module as well as i read couple of documentation but unable to find steps to setup domains to proceed further.
hoping you guys to help me out.

I want same code as well as same db to be shared across multiple domains like

  • example.com
  • lorem.com
  • ipsum.com

so i need above these domains will share same code/db.
can anyone let me know what are the steps to follow to setup in drupal 8 version.

thanks

Comments

drupalprog created an issue. See original summary.

dqd’s picture

This is definitely possible with the domain_access module project and sub modules. There are many possibilities in Drupal to achieve this but especially in your case and when you want them to share the same database and some of the content or users domain_access is the logically most promising route. Since the development for a stable Drupal 8 and 9 release is in progress some of the functionality maybe needs still some patches and code review. Feel free to join us for more info @ Drupal Slack in the #domain channel.

Under /admin/config/domain you should be able to add the domains, but you also need to configure your server or domain management tool to route this domains to the web space of the Drupal project. Also read the README of domain_access carefully to understand which configurations you have to make before the module can work properly.

bsnodgrass’s picture

bsnodgrass’s picture

Reviewing for #3366588: Documentation for 2.0.x and adding this as a related issue.

mably’s picture

Status: Active » Closed (outdated)