How to remove apache in centos and cyberpanel

How to remove apache in centos and cyberpanel


As we all know Cyberpanel is openlitespeed or litespeed enterprise webserver and not a Apache web server so we really don't need Apache to be installed there but for some reasons some times we follow some instructions on the net and we end up installing Apache .

When you install Apache on cyberpanel (centOs) it causes different pages on http and https which is not ideal, to fix that issue and serving same contents on both http and https we need to remove Apache from our server.

To do that copy paste codes below into your terminal and you'll see the results immediately.

yum remove httpd
systemctl restart lsws

- Last updated 3 years ago

Be the first to leave a comment.

You must login to leave a comment