I modifed httpd.conf and now one domain shows cpanel's green page "no website configured at this address"
Also, all the domains on the main shared IP (server's main IP) work fine except the two domains on their dedicated IP's.
The dns has been propagated for over 3 hours now.
NameVirtualHost xxx.x02.66.2:80
<VirtualHost xxx.x02.66.2>
BytesLog domlogs/server.domain.com-bytes_log
ServerName server.domain.com
DocumentRoot /usr/local/apache/htdocs
</VirtualHost>
<Location /whm-server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
ExtendedStatus On
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteMap LeechProtect prg:/usr/local/cpanel/bin/leechprotect
</IfModule>
Here is the virtual host for one of the domains for example:
NameVirtualHost xxx.x02.66.3:80
<VirtualHost xxx.x02.66.3>
ServerAlias domain.com
ServerAdmin
[email protected]
DocumentRoot /home/user/public_html
BytesLog domlogs/domain.com-bytes_log
User user
Group user
<IfModule mod_php4.c>
php_admin_value open_basedir "/home/user/:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
<IfModule mod_php5.c>
php_admin_value open_basedir "/home/user/:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
<IfModule mod_userdir.c>
UserDir disabled
UserDir enabled user
</IfModule>
ServerName
www.domain.com
<IfModule mod_userdir.c>
Userdir disabled
Userdir enabled user
</IfModule>
<IfModule mod_php4.c>
php_admin_value open_basedir "/home/user:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
<IfModule mod_php5.c>
php_admin_value open_basedir "/home/user:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
User user
Group user
CustomLog /usr/local/apache/domlogs/domain.com combined
ScriptAlias /cgi-bin/ /home/user/public_html/cgi-bin/
</VirtualHost>