Managing Drupal and WordPress Subsites Under a Single Domain
Best practices for having Drupal or WordPress subsites on one domain.Discuss in our Forum Discuss in Slack
Pantheon only supports one application codebase and one database per site. We do not support database prefixes or Drupal multisite. Our workflow, backup, and deployment tools only perform as expected given the standard Pantheon setup.
Best Practice Recommendations
We can't provide specific recommendations for your sites. However, we can provide general best practices if you have two sites under one domain. This is a common CMS problem, but there are strategies and workarounds available. Refer to Multi-headed Drupal for more information.
What Works on Pantheon
- Separate installs with redirection to a subdomain
- Features-based installs with Custom Upstreams and redirection to a subdomain
- Domain access on a single site install. For a Drupal site, try the Subfolders Domain (sub domains) module but there is no guarantee it will work.
- Organic Groups