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.
1
CentOS Configuration / Re: Change ports 80 and 443
« on: May 29, 2025, 04:36:45 PM »
Thanks Starburst.
I have now changed all of the ports and hope that I can tunnel in to CWP from the reverse proxy.
Thanks for all of your help
I have now changed all of the ports and hope that I can tunnel in to CWP from the reverse proxy.
Thanks for all of your help
2
CentOS Configuration / Re: Change ports 80 and 443
« on: May 28, 2025, 04:40:57 PM »
Thanks for the reply Starburst:
So edit the conf to 8080
and the canf sll to 8443 on all vhosts and then lock the files.
These are the Vhost files that I tried to do that with and then restarted apache, but Apache was still using 443 somewhere else
So edit the conf to 8080
and the canf sll to 8443 on all vhosts and then lock the files.
These are the Vhost files that I tried to do that with and then restarted apache, but Apache was still using 443 somewhere else
3
CentOS Configuration / Change ports 80 and 443
« on: May 28, 2025, 02:34:23 PM »
OK guy's due to local issues I've had to reduce down to one server and one public ip. This means that I have to run Traefik as a gateway reverse proxy and place CWP behind that running apache on 8080 and 8443.
My intention is to put a passthrough from Traefik to CWP to allow CWP to issue SSL to the hosted domains and Traefik will handle any SSL requests for on the VM's on the server separately.
Now I've edited
Where can I find the definitive settings to change both 80 and 443 on Apache please?
My intention is to put a passthrough from Traefik to CWP to allow CWP to issue SSL to the hosted domains and Traefik will handle any SSL requests for on the VM's on the server separately.
Now I've edited
Code: [Select]
/usr/local/apache/conf/extra/httpd-ssl.conf
and changed the ports to 8443 and restarted Apache, but it still seems bound to 443. So I edited each host file and changed them to 8443 as well, but Apache still holds on to 443.Where can I find the definitive settings to change both 80 and 443 on Apache please?

5
E-Mail / Re: Missing inbox emails after restore
« on: May 03, 2025, 05:46:37 PM »
OK... this is solved.
It was me
AntiSpam/AntiVirus (recommended):
ClamAV, Amavis & Spamassassin, Requires 2Gb+ RAM
rDNS Check (recommended):
Drop all emails if no rDNS/PTR
Install DKIM & SPF (recommended):
Installs DKIM & SPF, enables DKIM for New Accounts and Domains
Install Policyd (recommended):
Installs Policyd, enables hourly email limit per domain. I needed to go in to the Postfix mail manager and tick the following boxes:
Once the mail server was rebuilt, the inbox mails started to flow back in to the mail clients.
Such a stupid thing not to have done... Sometimes I can't see the wood for the trees
It was me
AntiSpam/AntiVirus (recommended):
ClamAV, Amavis & Spamassassin, Requires 2Gb+ RAM
rDNS Check (recommended):
Drop all emails if no rDNS/PTR
Install DKIM & SPF (recommended):
Installs DKIM & SPF, enables DKIM for New Accounts and Domains
Install Policyd (recommended):
Installs Policyd, enables hourly email limit per domain. I needed to go in to the Postfix mail manager and tick the following boxes:
Once the mail server was rebuilt, the inbox mails started to flow back in to the mail clients.
Such a stupid thing not to have done... Sometimes I can't see the wood for the trees
6
E-Mail / Missing inbox emails after restore
« on: May 03, 2025, 04:34:45 PM »
Hi guys,
I did a backup with CWP backup system and restored using the same system. I only had a choice to restore all, but that's ok. The account was about 4.6gb and was only used for email and had about 10 accounts.
Once I restored the account the emails in the inbox of the clients started to disappear, in fact a whole months worth in each email account. The backup and restore was completed within 15 minutes of taking it and I don't think it has missed out anything.
The clients are using Imap to access the server.
I tried to sync the folders and managed only to get the Spam, Deleted and sent items restored... but not the inbox.
Any clues what might be happening?
I did a backup with CWP backup system and restored using the same system. I only had a choice to restore all, but that's ok. The account was about 4.6gb and was only used for email and had about 10 accounts.
Once I restored the account the emails in the inbox of the clients started to disappear, in fact a whole months worth in each email account. The backup and restore was completed within 15 minutes of taking it and I don't think it has missed out anything.
The clients are using Imap to access the server.
I tried to sync the folders and managed only to get the Spam, Deleted and sent items restored... but not the inbox.
Any clues what might be happening?
7
Updates / Re: Updates are bad
« on: December 03, 2023, 05:44:37 PM »
If like me, after an update from CWP pro your Apache services or Nginx services won’t start and you look at the logs to find that port 80 can’t be bound to and you get any of the following errors:
nginx/httpd problem (98)Address already in use, bind to :80/443 failed
yum remove httpd* cwp-httpd -y
yum install cwp-httpd -y
after that rebuild webserver config.
nginx/httpd problem (98)Address already in use, bind to :80/443 failed
yum remove httpd* cwp-httpd -y
yum install cwp-httpd -y
after that rebuild webserver config.
8
Addons / This is how to install Nextcloud in CWP
« on: October 02, 2023, 07:03:16 PM »
If you are looking to install Nextcloud in CWP this is how to do it.
Goto Nextcloud.com/install and select Nextcloud Server
Scroll down and click on "Community Project
click on the here link to download the Web Installer file
Upload the Nextcloud Web Installer file to your server in your home directory (Public_html)
Create a database for the domain you wish to install Nextcloud in. Do this in the CWP mysql manager panel... Don't forget to create a user and give them full rights.
Now go to the domain name that you uploaded the Nextcloud scrit to and type: yourdomain/setup-nextcloud.php and follow the instructions.
Remember not to choose SQL light!
That's it... Nextcloud installed in CWP
Goto Nextcloud.com/install and select Nextcloud Server
Scroll down and click on "Community Project
click on the here link to download the Web Installer file
Upload the Nextcloud Web Installer file to your server in your home directory (Public_html)
Create a database for the domain you wish to install Nextcloud in. Do this in the CWP mysql manager panel... Don't forget to create a user and give them full rights.
Now go to the domain name that you uploaded the Nextcloud scrit to and type: yourdomain/setup-nextcloud.php and follow the instructions.
Remember not to choose SQL light!
That's it... Nextcloud installed in CWP
9
SSL / Re: only self signed certificates issued
« on: September 30, 2023, 02:12:47 PM »
Thanks for the reply.
Yes all firewalls have both ports open and nothing else is using port 80 or 443 other than CWP.
This may well be a Rocky Linux issue as I'm discovering that Apache is very, very sensitive to change. Turn on any settings for Mod security and Apache crashes and is very difficult to rebuild. Do any changes in Apache conf.d and Apache crashes, change main server from Apache to Apache and Nginx and Apache crashes.
Some of the domains I host have managed to get an ssl through auto ssl, and some simply won't, despite the fact that "A" records point to the server and dns is propagated weeks ago.
I've not had this problem before and all fingers point to Apache. This is the second Rocky Linux 8 build with similar problems.
I may revert to Centos 7 just to get the stability.
Anyone else had any issues with Apache and Rocky Linux 8?
Yes all firewalls have both ports open and nothing else is using port 80 or 443 other than CWP.
This may well be a Rocky Linux issue as I'm discovering that Apache is very, very sensitive to change. Turn on any settings for Mod security and Apache crashes and is very difficult to rebuild. Do any changes in Apache conf.d and Apache crashes, change main server from Apache to Apache and Nginx and Apache crashes.
Some of the domains I host have managed to get an ssl through auto ssl, and some simply won't, despite the fact that "A" records point to the server and dns is propagated weeks ago.
I've not had this problem before and all fingers point to Apache. This is the second Rocky Linux 8 build with similar problems.
I may revert to Centos 7 just to get the stability.
Anyone else had any issues with Apache and Rocky Linux 8?
10
SSL / only self signed certificates issued
« on: September 29, 2023, 07:07:04 PM »
Hi,
My hostname seems only to generate a self signed certificate. I've made sure the dns has propagated and that the hostname has a proper "A" record pointing to the server, so there really isn't any reason why I can't generate a ssl certificate when I click on "Change hostname"
I've changed the host name to another domain and that too generates a self signed certificate.
All of the ports are open in the firewall as well as port forwarded in the router
I'm running Rocky Linux 8 and everything seems ok,
My hostname seems only to generate a self signed certificate. I've made sure the dns has propagated and that the hostname has a proper "A" record pointing to the server, so there really isn't any reason why I can't generate a ssl certificate when I click on "Change hostname"
I've changed the host name to another domain and that too generates a self signed certificate.
All of the ports are open in the firewall as well as port forwarded in the router
I'm running Rocky Linux 8 and everything seems ok,
11
Installation / Re: Reverse proxy?
« on: September 16, 2023, 07:27:47 PM »
Well I have to combine two servers to one location sharing a single public ip. I plan to virtualise CWP in a container and use a reverse proxy to serve all of the webservers and CWP on that physical server.
12
Installation / Reverse proxy?
« on: September 16, 2023, 05:11:17 PM »
Quick question as I can't see the answer or question in this forum or indeed on the net.
Cab I host CWP behind a reverse proxy?
Would that cause issues with CWP, like emails, domain and such like?
Cab I host CWP behind a reverse proxy?
Would that cause issues with CWP, like emails, domain and such like?
13
Installation / Virtual machine install with redirect issues
« on: November 20, 2022, 04:04:52 PM »
I have a few servers setup with just CWP installed and on a dedicated external ip for each.
I have to move one server and I have run out of server space on a few of the servers. So I thought why not install CWP as a VM and I can then move those accounts over to the VM version of CWP until the physical server is brought down and recommissioned.
So I'm running virtualisation (Proxmox 7) and have successfully installed a vm with Centos7 and CWP.
Because I have other dockers and vm's on that server I run Nginx Proxy Manager to deal with the incoming dns requests.
I think I've shot myself in the foot as if I allow NPM (Nginx Proxy Manager) to redirect external requests to the ip that CWP resides (the virtual machine) then I can't resolve requests within CWP like mail, ftp and so on as I guess Nginx within CWP isn't handling the proxies.
So I thought, why not forget NPM altogether but then any external request to CWP isn't forwarded on to CWP and you get nowhere.
Has anyone any idea how best to set up CWP independently to other resources so that dns requests can be handled by CWP?
I have to move one server and I have run out of server space on a few of the servers. So I thought why not install CWP as a VM and I can then move those accounts over to the VM version of CWP until the physical server is brought down and recommissioned.
So I'm running virtualisation (Proxmox 7) and have successfully installed a vm with Centos7 and CWP.
Because I have other dockers and vm's on that server I run Nginx Proxy Manager to deal with the incoming dns requests.
I think I've shot myself in the foot as if I allow NPM (Nginx Proxy Manager) to redirect external requests to the ip that CWP resides (the virtual machine) then I can't resolve requests within CWP like mail, ftp and so on as I guess Nginx within CWP isn't handling the proxies.
So I thought, why not forget NPM altogether but then any external request to CWP isn't forwarded on to CWP and you get nowhere.
Has anyone any idea how best to set up CWP independently to other resources so that dns requests can be handled by CWP?
14
Backup / remote backup advise
« on: July 12, 2022, 07:02:11 PM »
Hi guys,
I'm familiar with CWP and have been running the pro version for many years on Centos 7. At the moment I backup using the backup facilities in the web panel. I then ftp those backups to my workstation.
But now I need to do some housework and automate and secure backups. I say now, as before I used CWP for hobbies, but now I host some business websites.
I wanted to set up something like OpenMediaVault on a remote server and back up to that.
So I'm asking for suggestions based on peoples experiences.
I have my CWP at location "A" and that has a dedcated static ip. I say dedicated because the only server running on that ip address is CWP. I have a server at location "B" and that has a static ip, But I have already one server running on that ip so I have Nginx setup to reverse proxy. The backup server I want to build will probably be virtualise to get the best of the hardware, perhaps running dockers or something.
What would you suggest, or use to do this?
I'm familiar with CWP and have been running the pro version for many years on Centos 7. At the moment I backup using the backup facilities in the web panel. I then ftp those backups to my workstation.
But now I need to do some housework and automate and secure backups. I say now, as before I used CWP for hobbies, but now I host some business websites.
I wanted to set up something like OpenMediaVault on a remote server and back up to that.
So I'm asking for suggestions based on peoples experiences.
I have my CWP at location "A" and that has a dedcated static ip. I say dedicated because the only server running on that ip address is CWP. I have a server at location "B" and that has a static ip, But I have already one server running on that ip so I have Nginx setup to reverse proxy. The backup server I want to build will probably be virtualise to get the best of the hardware, perhaps running dockers or something.
What would you suggest, or use to do this?
15
CentOS 7 Problems / session token expired, please reload the page
« on: May 08, 2022, 05:57:51 PM »
I have a couple of customers who have this error message pop up and they cannot log in to their accounts.
The error message is:
Webserver Nginx and Apache
Nginx and Apache running on default templates and both running 7.3 FPM with default templates and forced for Apache
Domain server configuration is 7.3 fpm and all templates set to default
Mod Security is set to Combo WAF (V1.223) and process all rules
There is no cron job set to clear server cache
The customers are having problems logging in to a Wordpress site running Woocommerce
Wordpress version 5.9.3 and Woocommerce 6.4.1
I'm not running any pluging cache, so the only cache is server side
The site does have an htaccess file (used mostly for Yoast)
And site wide the security is handled by Wordfence Pro v7.5.9
Customers are reporting that if the refresh the browser after having the error, they still cannot log in or enter address details. Some have cleared cache on their devices and some have tried other browsers, but still get the error.
This suggests to me that this is server side and probably a misconfiguration with cache and security.
Anyone have any idea where I should start with this please. I'd be very grateful for any help.
The error message is:
Quote
session token expired, please reload the pageMy server is configured as follows:
Webserver Nginx and Apache
Nginx and Apache running on default templates and both running 7.3 FPM with default templates and forced for Apache
Domain server configuration is 7.3 fpm and all templates set to default
Mod Security is set to Combo WAF (V1.223) and process all rules
There is no cron job set to clear server cache
The customers are having problems logging in to a Wordpress site running Woocommerce
Wordpress version 5.9.3 and Woocommerce 6.4.1
I'm not running any pluging cache, so the only cache is server side
The site does have an htaccess file (used mostly for Yoast)
And site wide the security is handled by Wordfence Pro v7.5.9
Customers are reporting that if the refresh the browser after having the error, they still cannot log in or enter address details. Some have cleared cache on their devices and some have tried other browsers, but still get the error.
This suggests to me that this is server side and probably a misconfiguration with cache and security.
Anyone have any idea where I should start with this please. I'd be very grateful for any help.