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 .
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
To do that copy paste codes below into your terminal and you'll see the results immediately.