# Difficulty installing on vm that includes CPanel and Apache

**URL:** https://meta.discourse.org/t/difficulty-installing-on-vm-that-includes-cpanel-and-apache/358157
**Category:** Self-hosting
**Tags:** unsupported-install
**Created:** [March 20, 2025, 2:25pm UTC](https://meta.discourse.org/t/difficulty-installing-on-vm-that-includes-cpanel-and-apache/358157 "2025-03-20T14:25:45Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Gustavo\_Rip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gustavo_rip/32/489281_2.png) [@Gustavo\_Rip](https://meta.discourse.org/u/Gustavo_Rip)
#### Post date: [March 20, 2025, 2:55pm UTC](https://meta.discourse.org/t/difficulty-installing-on-vm-that-includes-cpanel-and-apache/358157/4 "2025-03-20T14:55:58Z")

</div>

> [@pfaffman](#):
>
> Welcome, @Gustavo_Rip ! Sorry you’re having trouble.

Thanks pfaffmann!!

Fortunately, I’m not one of those people who gives up easily, although these subsequent problems worry me, especially since I’m not 100% familiar with this platform.

By default, my CloudServer has Apache installed, and if I remove it, it causes problems with CPanel and other features. I tried it during the first installation because I read that nginx was much better and faster, but I had the issues I mentioned. Therefore, I reinstalled the OS on the server and started over, following this recommendation:

> [@Run other websites on the same machine as Discourse](https://meta.discourse.org/t/run-other-websites-on-the-same-machine-as-discourse/17247):
>
> @pfaffman edited this heavily 2022.02.24. Blame me if it’s broken. If you want to run other websites on the same machine as Discourse, you need to set up an extra NGINX or HAProxy proxy in front of the Docker container. NOTE: This is for advanced admins This guide assumes you already have Discourse working - if you don’t, it may be hard to tell whether or not the configuration is working. You cannot use ./discourse-setup to set up Discourse if another server is using port 80 or 443. You will…

It’s not like I have multiple sites, at least not yet, because my CloudServer allows up to 5 accounts.

As for the standard installation, I followed all the steps to install Docker, Discourse, Certbot, and download the Let’s Encrypt certificates, but when I ran discourse-setup, I had to perform the manual configuration following the link above and configuring manually app.yml file to perform the rebuild.

---

_[View the full topic](https://meta.discourse.org/t/difficulty-installing-on-vm-that-includes-cpanel-and-apache/358157)._
