HI all
I have a problem with a recent new server where I deployed several new sites. The problem is that trying to browse the new sites I can go on and old one and no further.
I have one IP public address 62.123.142.xxx. DNS service is given from domain's mantainer. Through an admin panel I can assign the third level names to each domain and point these to my public IP. Thus when I need a new level I just go there and add a line:
domain1 --> 62.123.142.xxx
www.domain1 --> 62.123.142.xxx
web.domain1 --> 62.123.142.xxx
admin.domain1 --> 62.123.142.xxx
domain2 --> 62.123.142.xxx
www.domain2 --> 62.123.142.xxx
web.domain2 --> 62.123.142.xxx
Each of these is served from a local server (192.168.0.8) and there is no problem with this.
Recently have added one new Web Server 192.168.0.7 with 3 new domains and have added this in the maintainer DNS.
domain3 --> 62.123.142.xxx
www.domain3 --> 62.123.142.xxx
web.domain3 --> 62.123.142.xxx
nslookup seems ok. Each resolves to my public IP.
The problem is that trying to browse the new address
www.domain3, or
www.domain4 and
www.domain5 I see the first one
www.domain1.
In apache each is set like this on server 1 :
<VirtualHost 192.168.0.8:80>
User "#1000"
Group "#1001"
ServerName beenzeria.com
ServerAlias beenzeria.com
www.beenzeria.com
DocumentRoot /usr/home/beenzeria/public_html
ErrorLog /usr/home/beenzeria/logs/error_log
CustomLog /usr/home/beenzeria/logs/access_log combined
ScriptAlias /cgi-bin/ /usr/home/beenzeria/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /usr/home/beenzeria/public_html>
Options IncludesNOEXEC FollowSymLinks
allow from all
</Directory>
<Directory /usr/home/beenzeria/cgi-bin>
allow from all
</Directory>
UseCanonicalName on
</VirtualHost>
and in this way in server 2:
<VirtualHost 192.168.0.7:80>
User "#1005"
Group "#1005"
ServerName webmail.0email.it
ServerAlias webmail.0email.it webmail2.0email.it
DocumentRoot /usr/home/squirrellmail/public_html
ErrorLog /usr/home/webmail/logs/error_log
CustomLog /usr/home/webmail/logs/access_log combined
ScriptAlias /cgi-bin/ /usr/home/webmail/cgi-bin/
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /usr/home/webmail/public_html>
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
<Directory /usr/home/webmail/cgi-bin>
allow from all
</Directory>
UseCanonicalName on
</VirtualHost>
in /etc/hosts there are the additions ie:
192.168.0.7 newdomain4 newdomain5 newdomain6
local DNS is only used for cache.
What can I set to have this working?
Tks on advance.
Marco