Hello,

Just installed the Domain module, everything seems to work fine. I can browse test.mysite.com but when I go to the Domain list option and select edit test.mysite.com at the top of the page I see "http://test.mysite.com/ is not responding and may not be configured correctly at the server level. Server code 503 was returned.

I have wildcard DNS enabled (confirmed by hosting company) and I have simpified my apache.conf as follows:

NameVirtualHost 1.2.3.4

DocumentRoot /var/www/
ServerAdmin webmaster@localhost
ServerAlias *.mysite.com
ServerName mysite.com


# Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all

Is this a known issue or have I "goofed"

Comments

agentrickard’s picture

This is exactly what it says: a server level error.

http://www.google.com/search?q=error+code+503

Here is the function in question:

function domain_check_response($domain) {
  $url = domain_get_path($domain);
  $response = drupal_http_request($url);
  if ($response->code != 200) {
    drupal_set_message(t('%server is not responding and may not be configured correctly at the server level.
      Server code !code was returned.',
    array('%server' => $url, '!code' => $response->code)), 'warning');
  }
}

We are sending a request to test.mysite.com and getting back a 503 error. Perhaps you site is not accessible to some users?

Domain Access is not designed to run on a shared host. I cannot provide additional information.

If your site is working normally, you can ignore this warning. It is there to help you, not to stop you.

agentrickard’s picture

Category: bug » support
Status: Active » Closed (works as designed)
ludo1960’s picture

Solved:

edited setting.php

set $base_url =mysite.com
and $cookie_domain =mysite.com

ran update.php... error gone!

Hope this helps someone else, oh and thanks for a great module.

ludo1960’s picture

Not sure if i'm posting this in the right place, but I thought it might interest you.

My 503 errors have returned, and as far as I know I havent changed anything. Switched on apache logging and this is interesting:

92-238-137-23.cable.ubr25.edin.blueyonder.co.uk - - [03/Nov/2008:21:28:50 +0000] "GET /admin/build/domain/view HTTP/1.1" 200 8049 "http://ucanuk.org/admin/build/domain/view" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3"
ucanuk.org - - [03/Nov/2008:21:29:31 +0000] "GET / HTTP/1.0" 503 1777 "-" "Drupal (+http://drupal.org/)"

I don't have Drupal.org mentioned anywhere in my configuration???

Sure it's nothing to do with the Domain module?

ludo1960’s picture

This could be the cause http://drupal.org/node/328582 sorry for bothering you, but I was convinced I had missed something in configuring your modules.