I have a total of two domains. One is the Primary domain and the other is a subdomain. The subdomain has all node tables prefixed using the Domain Prefix module of Domain Access.

The problem I'm having is that when I create a new content node on the primary domain and check Publish To: subdomain, the node does not appear on the subdomain site. From reading through the forms for hours...it seems like this should work, but I may have something simple misconfigured.

Can anyone offer me some guidance?

Comments

agentrickard’s picture

Category: task » support
Status: Active » Closed (works as designed)

Prefixing the node table breaks Domain Access. Don't do it.

agentrickard’s picture

More accurately -- it isn't necessary. Node access handles it. If you prefix {node} tables, you break that.

robidigital’s picture

Good to know, thanks.

1. My goal is to allow the subdomain owner to edit content on their site without the same edits being applied to the primary domain. What is the best way of handling that?

2. Is there documentation that mentions what tables NOT to prefix?

robidigital’s picture

Status: Closed (works as designed) » Active
robidigital’s picture

Good to know, thanks.

1. My goal is to allow the subdomain owner to edit content on their site without the same edits being applied to the primary domain. What is the best way of handling that?

2. Is there documentation that mentions what tables NOT to prefix?

agentrickard’s picture

1. Don't use Domain Access, or use it with the Node Clone module. In this case, you may be better off with a multisite installation using Feeds to "discover" content from other sites.

2. No. Domain Prefix is use at your own risk, but if you read the docs on Node Access, the reasons are quite clear.

robidigital’s picture

Thanks Agentrickard - I can understand where Domain Prefix might cause issues in a number of areas, especially with all of the relations that are involved in the Drupal core database.

What I like about Domain Access is that it gives the administrator the ability to add a subdomain from the GUI. With Multi-Site my client will need to request that I setup the subdomains as needed using FTP/SSH.

However, considering that Multisites may be the cleanest route, what method do you recommend for auto-generating nodes through discovery from feeds?

Do you have any experience with the Domain Override module? http://drupal.org/project/domain_override

agentrickard’s picture

I do not, but I wrote something similar (but never released it).

bluegeek9’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Drupal 6 in End of Life and no longer supported. We encourage you to upgrade to a supported version of Drupal. For more information, see https://www.drupal.org/upgrade.

//www.flaticon.com/free-icons/thank-you Thank you for your contribution! Your continued support of this project makes other volunteer contributions more sustainable.
There are multiple ways to show appreciation for the work contributed to this project, including:
  • Triaging issues and adding more context to existing issues.
  • Writing documentation or patches for this project.