ronx

Registered
Feb 1, 2010
2
0
51
Hello,

after cPanel installation in centOS 5.4 ... after entering https://$IP:2087 in web browser, nothing happened

when I type http://$IP i see the page below... I don't see any login page

what am I doing wrong?

 

garrettp

Well-Known Member
PartnerNOC
Jun 18, 2004
312
1
166
cPanel Access Level
DataCenter Provider
CentOS has default iptables (firewall) rules that block access to cPanel ports out of the box. You can flush them with `iptables -F` and also remove them from /etc/sysconfig/iptables to prevent them from coming back on a system reboot or service restart.
 

ronx

Registered
Feb 1, 2010
2
0
51
thx garrett, u have no idea how much u have helped me with this ... I totally appreciate it.

one more thing if not too much to ask ...after typing /etc/sysconfig/iptables i get 'permission denied'

best
ron
 
Last edited:

garrettp

Well-Known Member
PartnerNOC
Jun 18, 2004
312
1
166
cPanel Access Level
DataCenter Provider
Just typing /etc/sysconfig/iptables will attempt to execute the file, and since it is a simple text configuration file, this is not possible (nor does it have the execute bit set by default for that reason).

You need to open the file with a text editor such as vi (vim) or pico/nano and remove or augment the relevant rules (add rules opening cPanel ports or wipe out all of the default rules).
 

InstaCarma_Tech

Well-Known Member
Apr 22, 2009
227
1
68
Just typing /etc/sysconfig/iptables will attempt to execute the file, and since it is a simple text configuration file, this is not possible (nor does it have the execute bit set by default for that reason).

You need to open the file with a text editor such as vi (vim) or pico/nano and remove or augment the relevant rules (add rules opening cPanel ports or wipe out all of the default rules).
Absolutely! Also make sure that you are logged in as 'root' .