Hello,

I'm planning to use subdomain module in taxonomy mode without enabled wildcard subdomains but instead with pre-configured subdomains. That means every time one creates a taxonomy term for a subdomain this subdomain needs to be configured beforehand.
This will be necessary since I'm not allowed to configure wildcard subdomains on my webspace account.
So I want to know: is this possible with subdomain module?
Any help or alternative ideas regarding this problem will be greatly appreciated! Thanks in advance!

Comments

setvik’s picture

It should be possible,

you just need to make sure that your manually configured subdomains point to your drupal directory

setvik’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

bsherwood’s picture

Status: Closed (fixed) » Postponed (maintainer needs more info)

My web host doesn't offer Wildcard DNS services so while I am able to add the DNS record, they will not change the httpd.conf settings.

I am looking to have my OG groups point to a subdomain. Regular users will not be able to create groups and I will manage the groups exclusively. My question is, if I am manually adding the subdomains, what do I have to do in order to get the results of using Wildcard DNS?

Do I just have to redirect(mirror?) the subdomain to my drupal directory? What about any changes to .htaccess?

Example:

Create group 'test'
set up 'test.example.com' to redirect to /public_html/drupal

Thanks!

setvik’s picture

Correct, redirecting subdomains to your root drupal directory (e.g. /public_html/drupal) should do the trick. You shouldn't need to make any changes to your .htaccess file.

finex’s picture

I confirm this workaround: I've just done this. Be sure to set the exact name of the subdomain to the taxonomy term :-)

setvik’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)