ispCP - Board - Support
A bunch of small questions .. - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: A bunch of small questions .. (/thread-650.html)

Pages: 1 2 3


RE: A bunch of small questions .. - Eminos - 05-25-2007 05:42 AM

Can't get it to work Sad

As far as the bind files go, the only string I managed to get to resolve to the right IP was a simple:

customer IN A ***.***.***.***

Anything else didn't resolve to the right IP.

So in the customer vhost I put:
ServerName customer.net
ServerAlias http://www.customer.net customer.net *.customer.net customer.mycompany.net

And in this case when I browsed to customer.mycompany.net I got to MY company homepage. So I deleted the *.mycompany.net in my companys vhost (ServerAlias), but the same problem.

/E


RE: A bunch of small questions .. - joximu - 05-25-2007 05:14 PM

Well I don't know how your zonefiles look like...
IN A should also work...

ok, did you reload apache after changing the conf files? (just to be sure..)

I'd recommend to use a 3rd level domain for theese customer URLs. Instead of
customerX.mysite.com
rather
customerX.customers.mysite.com

Advantage:
you can add a wildcard in the DNS configuration "*.customers IN A <ip>"
there won't be any colision with a customer named "www" :-)

But first it's important that the changes are recognized by apache in the right way...

Maybe you can show us the output of
Code:
grep -i "virtualhost\|server" /etc/apache2/sites-enabled/ispcp.conf

/J