Question

Domain & Zpanel 403 Error

  • Posted on January 20, 2014
  • hi410046Asked by hi410046

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.

http://www.thefanclub.co.za/how-to/how-secure-ubuntu-1204-lts-server-part-1-basics

I’ve completed the instructions above, but now receiving and 403 forbidden error on my main TLD & zpanel, which are both pointing to jonathanyap.com & zpanel.jonathanyap.com.

Including www in jonathanyap.com seems to reachable without the error, and the other sub-domain are working as well (finn.jonathanyap.com & jake.jonathanyap.com).

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


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Alright, after some digging around, I found a similar problem. https://www.digitalocean.com/community/questions/403-forbidden-after-installing-mod_security <br> <br>So I narrowed it down to mod_security. <br> <br>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! <br><IfModule mod_security2.c> <br>SecRuleEngine DetectionOnly <br></IfModule>