claudioimai
18th June 2008, 14:33
Hello.
My problem is quite weird.
I have a domain set in a IP, with SSL and all.
Some co-domains are set, and everything looks OK in the CP and the vhosts file.
the VirtualHost for this domain has the lines:
<VirtualHost 78.47.195.35:80>
ServerName ww2.corpoeforma.com.br:80
ServerAdmin webmaster@corpoeforma.com.br
DocumentRoot /var/www/web20/web
ServerAlias www.suplementoalimentar.com.br suplementoalimentar.com.br www.corpoeforma.com.br www.fitforma.com.br fitforma.com.br corpoeforma.com.br
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
As you can see, www.corpoeforma.com.br is in the list for the codomains, and it was the web domain before.
The problem is that I can access this website with corpoeforma.com.br, www.suplementoalimentar.com.br, suplementoalimentar.com.br, etc. So, it looks that the DNS is OK and BIND9 is correctly setup, too.
But www.corpoeforma.com.br doesn't work.
The server seems to be blind to this subdomain, and sends the browser to the sharedip page.
I've been checking all day for this error, but it seems to be something in my config.
One thing I did to look for this error was downloading a SQL dump of the ispconfig database, and searched for the string "corpoeforma.com.br", in order to check if any of the strings had any hidden chars (spaces, etc), for previously mistaken configurations, but I couldn't find anything.
Please, I have no other idea about it.
My problem is quite weird.
I have a domain set in a IP, with SSL and all.
Some co-domains are set, and everything looks OK in the CP and the vhosts file.
the VirtualHost for this domain has the lines:
<VirtualHost 78.47.195.35:80>
ServerName ww2.corpoeforma.com.br:80
ServerAdmin webmaster@corpoeforma.com.br
DocumentRoot /var/www/web20/web
ServerAlias www.suplementoalimentar.com.br suplementoalimentar.com.br www.corpoeforma.com.br www.fitforma.com.br fitforma.com.br corpoeforma.com.br
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
As you can see, www.corpoeforma.com.br is in the list for the codomains, and it was the web domain before.
The problem is that I can access this website with corpoeforma.com.br, www.suplementoalimentar.com.br, suplementoalimentar.com.br, etc. So, it looks that the DNS is OK and BIND9 is correctly setup, too.
But www.corpoeforma.com.br doesn't work.
The server seems to be blind to this subdomain, and sends the browser to the sharedip page.
I've been checking all day for this error, but it seems to be something in my config.
One thing I did to look for this error was downloading a SQL dump of the ispconfig database, and searched for the string "corpoeforma.com.br", in order to check if any of the strings had any hidden chars (spaces, etc), for previously mistaken configurations, but I couldn't find anything.
Please, I have no other idea about it.