Closed (outdated)
Project:
Domain
Version:
6.x-2.1
Component:
User interface
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2010 at 21:21 UTC
Updated:
1 May 2025 at 18:50 UTC
Jump to comment: Most recent
Domain User doesn't create a new domain when a new account is created. No error messages in the logs either.
Comments
Comment #1
agentrickardYes, it does. Check your settings and try again.
And more information, please, if you want any support.
Comment #2
fizk commentedThanks agent, here are the problems:
- I'm expecting to see new subdomains listed under /admin/build/domain, is that right?
- After setting /admin/build/domain/user, I'm expecting to be directed to myusername.example.com, but I'm redirected to www.example.com (front page), or www.example.com/user/xx
In my DNS settings (GoDaddy), *.example.com points to the main IP address for my webserver. (ie. browsing to subdomain.example.com shows the main website).
I've read the README, but this is my first time using Domain Access and Domain User.
Comment #3
agentrickardDomain User will not auto-populate domains for existing users. You have to edit the user to create a domain.
Comment #4
fizk commentedSorry, I meant to say this happens when creating new users.
Comment #5
agentrickardYou'll have to be sure you have everything set up (in Drupal) correctly and that no other modules are interfering with user registration.
Domain User doesn't get a lot of attention (in D7 it's split to a new project), and I can't possibly begin to debug this without any information.
One quick thing: Make sure anonymous users have the permission to create their own domains. This is a documented quirk.
See section 3 of the Domain User README.
Comment #6
fizk commentedAhh! That did the trick :)
OK, so that's very odd that the permissions had to be set separately without any notice. Here's my recommendation:
1. When User Domain settings 'module behaviour' is "Automatically create domains for new users", the module should output a warning message if the permissions "create personal domain", and "create user domains" aren't set.
2. Mention this in the field's description.
Comment #7
fizk commentedComment #8
agentrickardNo. This is DOCUMENTED. Other modules don't warn you about setting permissions through the UI.
Comment #9
Al.D commentedhi agentrickard.
Thank you for pointing this out. Yes, this "did the trick".
One thing about this is still awkward though:
- logging in as superuser (1)
- adding users who want sub-domains
- NOT setting, that anonymous users are allowed to "create personal domain", but authenticated users are.
- wondering, why sub-domains aren't created
- printing out dozens of pages from all the readme's instructions, browsing and checking a day's work log and carefully deciding, that the following section was not to be set for my case:
/**
* @file
* README file for Domain User.
*/
section 3, paragraph 5:
If you want users to be able to create subdomains when they register, you must
give this permission to the 'anonymous users' role and to the 'authenticated
users' role.
This does not make sense to me, personally, because I do not want them to be able to edit the configurations that I have set. This is my job.
Thanks a lot for your work though. Very nice to see these efforts contributed.
I would clarify this section though, so that not another one gets caught here.
cheers.
Alec
Comment #10
agentrickardThis sounds like a documentation task. Improvements welcome, but I'm not taking the time to make the changes.
If you have suggestions, I'll take a look, but Domain User is largely unsupported at this point. (It needs a new maintainer for Drupal 7.)
Comment #11
bluegeek9 commentedDrupal 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.