Current time: 12-26-2024, 10:46 PM Hello There, Guest! (LoginRegister)


Post Reply 
A bunch of small questions ..
Author Message
Eminos Offline
Junior Member
*

Posts: 159
Joined: Jan 2007
Reputation: 0
Post: #21
RE: A bunch of small questions ..
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
05-25-2007 05:42 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #22
RE: A bunch of small questions ..
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
05-25-2007 05:14 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)