Your web server is not routing subdomains to your Drupal directory

jaxpax - May 17, 2009 - 14:32
Project:Subdomain
Version:6.x-1.5
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi!
after installing the subdomain module, on my shared host, there are two items, out of five, that is not working.

Web server - Not working yet
Drupal's inbound URL rewriting - Not working yet

I also receive this warning message:
warning: file_get_contents(http://subdomain-test.mydomain.com/subdomain/test) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 503 Service unavailable in /home/web33214/domains/mydomain.com/public_html/sites/all/modules/subdomain/subdomain_debug.inc on line 57.

I have added the functions in the settings.php and set the $cookie_domain.

What can cause this?

#1

rebaths - June 24, 2009 - 16:48

Don't take my word for it, but you need to edit httpd.conf and on a shared host, you usually can't do that..???

 
 

Drupal is a registered trademark of Dries Buytaert.