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 - thewebexpert

Pages: [1]
1
SSL / Re: AutoSSL and Cloudflare
« on: February 26, 2024, 11:19:50 AM »
This is normal for Cloudflare, the RIGHT way to use cloudflare is that you install the cloudflare cert on your server, it is a wildcard ssl cert that goes between your server and cloudflare, then all proxied traffic is encrypted. Cloudflare then will use its own autossl between their servers and the internet.

This happens on cpanel as well, it is the way traffic is being blocked to the autogenerated paths, and since we are unable to dynamically create dns records to validate domain ownership, it makes it very complicated.

It works sometimes, but if you REALLY want it to work ALL of the time, spend the extra few minutes and just download and install the cloudflare cert then make sure in cloudflare ssl is set to full,  and enable all of the ssl features.

2
Per the flury of threads tonight, just create a new user on the admin panel, then all the user panels magically start working.

3
CentOS-WebPanel GUI / Re: Login issues with CWP
« on: November 21, 2023, 02:07:47 AM »
so odd, the entire user panel was broken, added a test user then deleted it, and all of the accounts work.

4
I have the exact same problem, Since the latest update I can not longer login to the client panel either with a password or token ..

5
Varnish / Re: Varnish Cache Age 0
« on: February 25, 2023, 01:41:51 AM »
the random PHP does not work. It returns a new number every time, that means varnish is not working.
This is rand.php
<?php
echo rand(1, 99);
?>
And the results are "random" , if the cache was working, they results would not change.

6
Varnish / Re: Varnish Cache Age 0
« on: February 22, 2023, 07:54:08 PM »
My problem is not solved, I have varnish enabled but whenever I try the test php page the number is different, meaning the cache is not working.

Still looking for help on how to troubleshoot.

There is a chance that my cache is too small, and the site is too busy so it keeps emptying itself I suppose however I have no clue how to validate that...

anyone????

7
Varnish / Varnish Cache Age 0
« on: February 22, 2023, 12:56:44 AM »
Dear Forum, I hope that you can help me resolve this ... I have activated Nginx & Varnish & Apache, Website when I CURL returns AGE : 0 and i see that Varnish Cache is serving the site

However the test code <?php
echo rand(1, 99);
?>

returns a different number every time, so even through curl shows varnish in the header, varnish is not caching.

I edited he webserver config for the domain and selected Vanish,  Selected the Wordpress.tpl file, rebuilt config and the site is up and running. I do not know what is missing, I suppose the website could be very busy and filling the cache perhaps too quickly but doubt that.. help would be great, or at least some hints to where I can look

TTP/1.1 200 OK
Server: nginx/1.22.1
Date: Wed, 22 Feb 2023 00:55:24 GMT
Content-Type: text/html; charset=UTF-8
Content-Length: 22
Connection: keep-alive
Keep-Alive: timeout=60
Cache-Control: max-age=0
Expires: Wed, 22 Feb 2023 00:55:24 GMT
Content-Encoding: gzip
X-Varnish: 296099
Age: 0
Via: 1.1 varnish (Varnish/5.2)

8
yes, the database name has more than one _ as is the standard when using wordpress toolkit, so any new sites will will have this issue with CWP then I suppose. A lot more people trying to migrate will run into this issue I am sure...

9
Apparently this "Feature" has been requested many years ago, so I suppose I answered this myself, stuck doing the imports manually -sigh-

10
I went to test a migration of a client from cpanel to CWP, and the database name (eg someuser_wp_mydatabase) is way too long for CWP, as well as having the same issue with the username, someuser_wp_admin123

Other than restoring the backup with the GUI then extracting the MYSQL folder from the TAR/GZ file, has anyone found any documentation to change the length of those fields? I cannot be a limit of MYSQL ...

Thank you for any advise!

11
CSF Firewall / Re: How to Prevent CWP BruteForce?
« on: January 23, 2023, 11:40:51 AM »
Hi, I hope someone can help me :)

1. Does CWP have CPhulk like Cpanel? It basically blocks all Countries except for one configured country.

2. Also, How to prevent Bruteforce? I followed this tutorial:
https://wiki.centos-webpanel.com/csf-lfd-brute-force-protection

However, the IP address of the user that has been detected by CSF is not accurate. I think the IP is like changing every minute even without using VPN. Maybe because of the use of Cloudflare. Because if you register any domain, users can easily access the control panel without actually knowing the main hostname.

For example, if the hostname you set when installing the CWP is hostname.com, and if you or your panel's users register https://testing.com in their control panel, they can easily add 2087 and 2083 ports to access the admin and user panel. e.g. https://testing.com:2083 - user panel, https://testing.com:2087 or https://testing.com:2031- admin panel.

Are there also any ways to prevent that?

3. How to change the control panel ports: 2083, 2087, 2030, 2031 to something different? Thanks :)

I am new on CWP I just migrated from Cpanel yesterday. Thanks :)

Anyone watching this, CWP already has this configured out of the box AND it blocks Wordpress login and xmlrpc attacks as well with no configuration required.

12
Nginx / Re: ModSecurity not working with NGINX
« on: January 23, 2023, 11:32:09 AM »
Perfect, thank you for the reply.

13
Nginx / ModSecurity not working with NGINX
« on: January 22, 2023, 10:58:46 PM »
New CWP admin, used to only use cPanel and looking for a change to save money!

Anyhow, testing out CWP Pro, got the firewall, mod security, apache, php-fpm all working, however when I try to use NGINX/NGINX configuration with PFP-FPM, ModSecurity is not working, the moment I switch back to Apache only, Mod Security starts working.

I also looked /etc/nginx/modules and it is empty, and nginx -V does not show modsecurity.

CentOS 7, Clean Install with CWP installed, nothing complicated here, confused why it just is not working out of the box.... any help would be appreciated, I do not see any documentation about adding modules ...

Pages: [1]