Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - TheQuantumPharaoh

Pages: [1] 2
CentOS 7 Problems / Re: CWP Using 2 Private IP Addresses
« on: July 28, 2023, 03:23:44 AM »
I figured it out....

Go to
Code: [Select]
nano /etc/sysconfig/network-scripts/your-eth
Change line
Code: [Select]
BOOTPROTO="dhcp" to
Code: [Select]
Restart network
Code: [Select]
systemctl restart network

CentOS 7 Problems / CWP Using 2 Private IP Addresses
« on: July 28, 2023, 02:11:10 AM »
I started getting return emails from Google today when sending to any gmail email. The error from Google said that my PTR record did not match the IP the email was coming from. I do have a block of 5 IP's from my ISP so I did a little digging. Found out that all I needed to do was go into my router and do a little Outbound NAT so the CWP server always used the correct public IP associated with the correct PTR record. My CWP server uses the private IP of so all I had to do was create the NAT rule and everything should work right?...not so much.

I created the NAT rule for and used the command
Code: [Select]
curl in CWP to check if it worked and nope. Was still using the wrong public IP. I then used the command
Code: [Select]
ifconfig to find what IP address CWP was using and sure enough it was using

I went back to my NAT rules and created the same rule but used the IP and boom! It started working.

So my question is CWP using both (which is what CWP says is its IP in the GUI and where all port forwarding is routed) and (which is apparently what the CWP mail server is using)?

Is there a way I can delete without breaking something?

Im having the same problem. Tried installing from the CWP UI but not working. I then used the recommended script form Netdata (wget -O /tmp/ && sh /tmp/ --stable-channel --disable-telemetry) and it successfully installed but when I go to the installed address I get a 502 Bad Gateway error. Any help?

Functions / Dark Mode for Text Editor
« on: January 22, 2023, 08:28:03 AM »
Does anyone know how to set the dark mode for the text editor in the file manager as default? Whenever I save a file it reverts back to light mode so I'm finding myself clicking the dark mode switch constantly. I just want to set it as default as I never use the light mode. Is this possible?

E-Mail / Re: Cant add autoresponder
« on: December 19, 2022, 05:00:05 AM »
Having the same problem. Can add an autoresponder but cannot edit it with out deleting it and starting over. Getting the database error. Any help from CWP admins?

Backup / Re: Any Way To Exclude A Folder For Backup?
« on: October 31, 2022, 09:31:56 PM »
I dont think you understood my question. Let me try to explain better....

First, let me say I am not backing up CWP with Nextcloud. I have installed Nextcloud on a domain on CWP and it has gotten large. It seems in CWP I can not back-up individual domains, I can only backup the full account or nothing. Is there a way to change this?

Backup / Any Way To Exclude A Folder For Backup?
« on: October 28, 2022, 05:19:32 PM »
I currently have all users on my server backing up to the /backup folder. The problem with this is I use Nextcloud and it has gotten very large on my harddrive space. This has caused the /dev/mapper/centos-root folder to get to 40% which is a 2TB size disk.

So my question is, can I exclude just the Nextcloud folder on this account from being backed up so I can save space?

Anyone have an idea to achieve this?

DKIM / Re: DKIM not need to start
« on: May 13, 2022, 10:29:44 PM »
Im having the same problem as bytecanarias.

Tried rebuilding email server and restarting OpenDKIM.

Any idea whats going on here?

CentOS Configuration / Re: CWP with NitroPack Config Question
« on: April 13, 2022, 04:01:02 PM »
I see that I put the ip in the "List of IP's" but what do I put in the "URL for performing a complete purge"?

CentOS Configuration / CWP with NitroPack Config Question
« on: April 13, 2022, 12:33:15 AM »
I am trying to set up NitroPack (a page speed caching site) via a Wordpress plugin but I get an error when NitroPack tries to cache my website saying that I am already using a caching plugin (which I am not). I found out that Im getting this error due to using NGINX and Varnish. Luckily NitoPack has an integration for such cases. Problem is, I dont know the details to put in the settings of NitroPack to remedy the problem. Here is the settings I need to fill in on NP.....

My CWP webserver is set to : Nginx & Varnish & Apache

Ports :

Nginx: 80,443
Varnish: 82
Apache: 8181,8443

Has anyone successfully set up NP with a Wordpress site on CWP? If so I need some help here.

SSL / Re: Disable AutoSSL (LetsEncrypt)
« on: September 29, 2021, 12:19:22 PM »
I'm having a similar problem. All my client SSL's for their domains are auto updating every 2 weeks or so. It's not breaking anything but I have it set to every 75 days. It seems to not be following my settings. Any ideas on how to fix this?

Is this still not possible for the CWP admin panel?

SSL / Re: how to force https on rouncube webmail
« on: July 06, 2020, 12:00:19 AM »
Im having trouble getting my webmail to force https as well. My webmail domain sits at I have tried editing the .htaccess (works for the main domain but not the /webmail). Also edited the webmail.conf located at /usr/local/cwpsrv/conf.d/webmail.conf with the following code :

Code: [Select]
return 301 https://$host:2096$request_uri;
Nothing seems to be working. Anyone figure this out yet?

Nginx / Nginx & Varnish & Apache + php-fpm - 502 Bad Gateway
« on: June 30, 2020, 04:40:15 AM »
I am wanting to try out Nginx as I heard its faster for wordpress sites so I used the "Webserver Settings > Webserver Domain Conf" in the CWP admin panel and set one of my domains to "Nginx & Varnish & Apache + php-fpm". This domain is now getting an error "502 Bad Gateway". Tried restarting Apache, uninstalled and reinstalled SSL cert, opened multiple ports, and even turned off Mod Security for this domain and nothing has worked. Here is the error log im getting.....
Code: [Select]
2020/06/30 00:11:16 [error] 10151#10151: *16156 connect() failed (111: Connection refused) while connecting to upstream, client:, server:, request: "GET / HTTP/1.1", upstream: "", host: ""
Any help is greatly appreciated.

CentOS-WebPanel GUI / Re: Cgroup In Package Creation Question
« on: April 18, 2020, 04:18:35 PM »

Pages: [1] 2