I recently turned on a new server and the first account I added to the shared IP is showing as the default page when going to the shared IP instead of the default cPanel Great Success page.
Any ideas?
Thanks ahead of time
I recently turned on a new server and the first account I added to the shared IP is showing as the default page when going to the shared IP instead of the default cPanel Great Success page.
Any ideas?
Thanks ahead of time
Bump, this is still an issue and causing some serious issues for my users.
WHM 11.15.0 cPanel 11.18.4-R23868
Thanks again
I believe this is currently intended behavior. If you wish to change this, our technical analysts may be able to assist you with that: http://tickets.cpanel.net/submit
When you enter the default IP of a shared server, or the domain of an unconfigured account, the default action of apache is to show the first domain it finds in the apache config.
This is generally the first account that you created on the server.
What you can do, is edit /usr/local/apache/conf/httpd.conf and add this block, or something similar after the first occurance of
NameVirtualHost your.server.ip.goes.here:80
HTHCode:<VirtualHost your.server.ip.goes.here> ServerName your.servername.com DocumentRoot /usr/local/apache/htdocs </VirtualHost>
Tom
Rebuilding the “Apache Config” resolved the issue.
At command prompt, execute as
# /usr/local/cpanel/bin/build_apache_conf
Regards,
Boby