[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Raq550 + shell-tools-2.03-0 + name based vhosts = caddvsite added sites resolve to site1



Hello,

I've several raq550's each with the RaQ550-shell-tools-2.03-0 RPM installed. I've a set of scripts that cause caddvsite and cadduser to be executed to create new sites/users from a central server that takes user registrations. This system works on all the other Raq550's (configured IDENTICALLY, as far as I can tell), however on the two new Raq550's we've just added to the setup things don't work in a rather bizarre fashion.

when the following commands get executed on the 2 new raqs:

/usr/sbin/caddvsite --domain=my.domain.com --host=test --maxusers=1 --enable-cgi --enable-php --quota=50 --ipaddr=XXX.XXX.XXX.XXX

/usr/sbin/cadduser --name=test --password='userspassword' --fullname='Test' --fqdn=test.my.domain.com --admin --adminPassword='adminpassword'

The site _appears_ to be created as normal (exactly as it does on the working servers) - and everything appears correctly in the admin GUI, however when I visit http://test.my.domain.com in my browser, I am redirected to the server's site1 page (http://my.server.com) - the DNS is setup correctly using wildcard DNS to resolve *.my.domain.com to the the server's IP, and from reading through /etc/httpd/conf/httpd.conf and the relevant files in /etc/httpd/conf/vhosts/ everything there appears to be correct (ie. no different than it is on the working servers).

From my experience this looks like apache's name based virtual setup isnt working, so I attempted adding a site from the admin panel, and this worked as normal! Comparing the new sites configuration to an unworking one's configuration showed me everything is apparently as it should be in both.

Has any one encountered something similar? Or is the writer (Jeff something .. ) of the shell tools around? I desparately need to solve this problem, any insight would be greatly appreciated; I've spent hours searching the archives and the web, and not found anyone with a remotely similar problem.

Regards,

Robin