|Status:||closed (works as designed)|
I have set up three subdomains using Domain Access 3.7. All are currently inactive (for obvious reasons). The problems do not seem to be affecting the main domain. All three are set up on the server end as well as through Domain Access. Different things were happening on each (see below) and then...I thought to clear the cache and now all three subdomains redirect to mysite.com. Not certain if clearing the cache caused the change or if something else happened. Content created on the subdomains is accessible only through admin>affiliated content.
Test.mysite.com Appeared to be working correctly. I was able to add content, create menus, etc. Was able to remove all mysite.com content without affecting mysite.com
sub1.mysite.com Redirected automatically to the main domain. No redirects visible either on the server end or in Domain Access. Deleting and recreating (both on the host end and through Domain Access) does nothing. It still redirects. Since this is what I want (while setting up the subdomains) that's fine for now but I can see no reason for the behavior. Eventually I'll need to be able to set up separate content.
sub2.mysite.com Working sporadically. Menu items added appear on mysite.com, menu items removed are removed from mysite.com. Content added through sub2.mysite.com is specific to the subdomain, but removing blocks (which worked in test.mysite.com) removes those blocks from mysite.com as well.
I have Forum Access active and Node Access loaded but not currently being used.
I am running Drupal 7.18
I am running MySql and PHP, but I don't know how to find the versions on those.
Currently active are Domain Access, Domain Blocks, Domain Content. Others were loaded but I started removing them one by one to see if that would fix the problem. I didn't remove the last three because I want to keep the changes made to the subdomains if possible.
Domain Access settings:
Content Defaults: Default to author's currently active domain
User defaults: Set to mysite.com because if I enter anything else it disappears after saving. It feels like this might be related, but I have no idea how.
Restrict node views for administrators
Default Source Domain: Do not change domain
www prefix handling: Process all host requests normallly
Let me know if you need other setting information.
If it's a server issue, any talking points for my call to them would be appreciated. Since I don't know what has contributed to the problems, my previous issue (and solution) is "Domain Access module throwing 403 error on new subdomain." index.php was in /public rather than /sites so I had to put the subdomain folders in /public to make Domain Access work. If this is contributing, I apologize in advance.
I removed a number of other modules that I wasn't using--no change. Clearing the cache in Drupal cleared up one thing--now only the sub*.mysite.com is redirecting. www.sub*.mysite.com appears to be at least going to the appropriate site, although the data for mysite.com is still showing. When I go to content I see the mysite.com pages. I checked my hosting provider and they have both (with and without www) in the DNS fields. I did not want to try moving the index.php file because I don't know what the result will be and I don't want to break my production site. I put an htaccess file under each subdomain--no change.
Hopefully this gives you enough information, and isn't too scattered.
Thank you for building this module, and for your help. I see your name all over the place on the forums, so I know you're spending a lot of time on this. Just thought I'd let you know that it's appreciated.