I instaled in new server cPanel 11, but i try acess: www.server.com/cpanel or www.server.com/whm and no entry only access www.server.com:2082 and www.server.com:2086. how I make to fix this?![]()
I instaled in new server cPanel 11, but i try acess: www.server.com/cpanel or www.server.com/whm and no entry only access www.server.com:2082 and www.server.com:2086. how I make to fix this?![]()
Hi there,
I'm currently having the same problem on a number of our servers in our fleet.
I've logged a ticket with cPanel support and hopefully will hear back from them shortly.
Soon as I have an answer, i'll post it here for you.
Craig
Hi,
cPanel support have said that my redirection stuff from the httpd.conf file was missing.
No idea why, but there you go.
Paste this stuff in the bottom of your httpd.conf file (if it doesn't already exists) and then restart httpd. Life should be good about then.
ErrorDocument 400 /400.shtml
ErrorDocument 401 /401.shtml
ErrorDocument 403 /403.shtml
ErrorDocument 404 /404.shtml
ErrorDocument 500 /500.shtml
ScriptAlias /cgi-sys/ /usr/local/cpanel/cgi-sys/ Alias /sys_cpanel/ /usr/local/cpanel/sys_cpanel/ Alias /java-sys/ /usr/local/cpanel/java-sys/ Alias /img-sys/ /usr/local/cpanel/img-sys/ Alias /akopia/ /usr/local/cpanel/3rdparty/interchange/share/akopia/
Alias /neo-images/ /usr/local/cpanel/base/neomail/neo-images/
ScriptAliasMatch ^/cpanel/(.*) /usr/local/cpanel/cgi-sys/redirect.cgi
ScriptAlias /cpanel /usr/local/cpanel/cgi-sys/redirect.cgi
ScriptAlias /whm /usr/local/cpanel/cgi-sys/whmredirect.cgi
ScriptAlias /securewhm /usr/local/cpanel/cgi-sys/swhmredirect.cgi
ScriptAlias /webmail /usr/local/cpanel/cgi-sys/wredirect.cgi
ScriptAliasMatch ^/webmail/(.*) /usr/local/cpanel/cgi-sys/wredirect.cgi
ScriptAliasMatch ^/kpanel/(.*) /usr/local/cpanel/cgi-sys/redirect.cgi
ScriptAlias /controlpanel /usr/local/cpanel/cgi-sys/redirect.cgi
ScriptAlias /securecontrolpanel /usr/local/cpanel/cgi-sys/sredirect.cgi
Alias /mailman/archives/ /usr/local/cpanel/3rdparty/mailman/archives/public/
ScriptAlias /mailman/ /usr/local/cpanel/3rdparty/mailman/cgi-bin/
Alias /pipermail/ /usr/local/cpanel/3rdparty/mailman/archives/public/
Alias /interchange/ /usr/local/cpanel/3rdparty/interchange/share/interchange/
Alias /interchange-5/ /usr/local/cpanel/3rdparty/interchange/share/interchange-5/
Cheers,
Craig
Wassup!
Correct what your friend said. In httpd.conf is the solution for you shortly. Also remember this:
http://domain.com/cpanel = http://domain.com:2082
http://domain.com/whm = http://domain.com:2086
http://domain.com/webmail = http://domain.com:2095
https://domain.com/webmail = https://domain.com:2096
/whm and /cpanel are aliases to them.
Respekt.
I add these to the end and apache doesn't start correctly. Do I need to add these in a more particular place?
Be careful to put outside a virtual host. cPanel is kind a stupid when it comes to write and rewrite httpd.conf. Also watch apache logs and sytem logs. Find if you allready have any of these lines in httpd.conf. It makes confusion. Keep searching, this is the solution.
Respekt.