Hellos,
I have been trying to crack domain access module. I use shared hosting. My webhost seems not to support wildcard dns properly. when I setup wild card dns...I get the error "Accessing content by IP address is not allowed"(webhost error(not drupal error)).when I configure a dns A record...let's say test.mydomain.com to point to the wehost IP address, I get the same error. Same error occurs if I try configuring a dns CNAME record.
Is there a work around for this? I also don't have access to httpd.conf for virtual host configuration
Any work around?
Thanks
Not really. The only real option is to manually set up subdomains when you need them and point their root directory to your Drupal installation. Not all shared hosting provides the ability to set the root directory for subdomains though, so it will depend upon your host.
The other option is to move to a VPS, where you would be able to set up everything the way you need, including httpd.conf.
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 7/31/2010 9:17 AM, Mutuku Ndeti wrote:
Hellos,
I have been trying to crack domain access module. I use shared hosting. My webhost seems not to support wildcard dns properly. when I setup wild card dns...I get the error "Accessing content by IP address is not allowed"(webhost error(not drupal error)).when I configure a dns A record...let's say test.mydomain.com http://test.mydomain.com to point to the wehost IP address, I get the same error. Same error occurs if I try configuring a dns CNAME record.
Is there a work around for this? I also don't have access to httpd.conf for virtual host configuration
Any work around?
Thanks
Thanks Jamie,
I tried that. My webhost does not allow that.
Moving to a vps is not feasible at the moment.
Are there drupal alternatives to achieving what I want. I want to have multiple subdomains using the same codebase/database. I tried multisites, but I had the same issues.
Thanks
You could try setting it up using symbolic links. Here's a post on GDO explaining how to do that, even using PHP if you don't have shell access on your server:
http://groups.drupal.org/node/43166
Again - this is going to depend upon what your hosting company allows/doesn't allow. There really isn't much that can be done on the Drupal side to get this working. You are dealing with Apache itself and how it handles finding the files for each site.
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 8/1/2010 2:12 AM, Mutuku Ndeti wrote:
Thanks Jamie,
I tried that. My webhost does not allow that.
Moving to a vps is not feasible at the moment.
Are there drupal alternatives to achieving what I want. I want to have multiple subdomains using the same codebase/database. I tried multisites, but I had the same issues.
Thanks
I use Hostmonster, and they set up the server with one cpanel and additional domains as "Add-on Domains", each add-on domain has it's own subdirectory of public_html and I'm betting (haven't tried it yet), that I can use symbolic links to use the same drupal image for multiple domains that way.
Warren Vail Vail Systems Technology warren@vailtech.net -----Original Message----- From: Jamie Holly [mailto:hovercrafter@earthlink.net] Sent: Sunday, August 01, 2010 4:43 AM To: support@drupal.org Subject: Re: [support] Domain access module on shared hosting.
You could try setting it up using symbolic links. Here's a post on GDO explaining how to do that, even using PHP if you don't have shell access on your server:
http://groups.drupal.org/node/43166
Again - this is going to depend upon what your hosting company allows/doesn't allow. There really isn't much that can be done on the Drupal side to get this working. You are dealing with Apache itself and how it handles finding the files for each site.
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 8/1/2010 2:12 AM, Mutuku Ndeti wrote:
Thanks Jamie,
I tried that. My webhost does not allow that.
Moving to a vps is not feasible at the moment.
Are there drupal alternatives to achieving what I want. I want to have multiple subdomains using the same codebase/database. I tried multisites, but I had the same issues.
Thanks