My forum goes offline after removing https

okay, try running sudo apt-get remove apache2

If that doesn’t solve the issue, run dpkg -l | grep apache2 and remove each remaining component