Domain & Zpanel 403 Error

January 20, 2014 4k views
I have created my droplet and installed zpanel on my site with success. I manage to setup a couple of sub domains and an FTP account before following instructions from below to secure my server. I've completed the instructions above, but now receiving and 403 forbidden error on my main TLD & zpanel, which are both pointing to & Including www in seems to reachable without the error, and the other sub-domain are working as well ( & I have no problem connecting to the FTP account I have initially set up via zpanel. I'm a beginner in all these and hope someone can guide me through. Thanks Jonathan
1 Answer
Alright, after some digging around, I found a similar problem.

So I narrowed it down to mod_security.

What works for me is I went into /etc/zpanel/configs/apache/httpd-vhosts.conf and tweaked the configuration for zpanel. Adding the following line seems to have done the trick!

SecRuleEngine DetectionOnly
  • its appear /etc/zpanel/configs/apache/httpd-vhosts.conf will be overwritten. any idea how to make it permanent?

Have another answer? Share your knowledge.