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

Pages: [1] 2 3 4
The two modules know as Letsencrypt and AutoSSL can't COEXIST. Meaning if you have Letsencrypt installed, everything in AutoSSL no longer works.

If letsencrypt it installed, you will need to recreate the certificates. Or remove letsencrypt and use autossl.

So get back into your CWP for the time being, use the insecure http url; http://IPADDRESS:2030

To get your cwp secured again on 2031, you need to make a new cert for it with the "Custom domain" section at the bottom of Letsencrypt.

Host: [yourhostname]
path: /usr/local/apache/htdocs
user: nobody
IP: [yourServerIP]
port: 443

After that, it will show you the vhost info at the top of the page, KEEP THIS OPEN for now. You need it.

Go into your server files, and navigate to this path /usr/local/cwpsrv/conf  and edit the cwpsrv.conf

Find: 2031

And you'll see these below it or close by, ssl_certificate  and   ssl_certificate_key

This is where you want to replace the values with the paths in the vhost info from before.

        ssl_certificate     /etc/letsencrypt/live/HOSTNAME/cert.pem;
        ssl_certificate_key /etc/letsencrypt/live/HOSTNAME/privkey.pem;

Save, then open SSH and do "Service cwpsrv restart"

DNS / Re: Configuring webpanel network/security
« on: March 13, 2018, 03:57:39 PM »
Hello! Welcome to the CWP family  ;D

To change hostname, look at the "CWP info" section of CWP homepage at the bottom right of the page, or go to this url [ http://IPADDRESS:2030/admin/index.php?module=change_hostname ]

In the CWP info section of the homepage, you can also see the NS (nameservers) and adjust those to what you want, like for using the DNS on CWP.

I personally love using Cloudflare as a Free DNS and anti-ddos protection.

How to / Re: Speeding wordpress site
« on: March 10, 2018, 07:22:31 PM »
Looking at the site you gave an example of,

This file is taking 8 seconds to load, because of "Waiting for First Byte (TTFB)"

Try resolving that. Perhaps use a different cache plugin in wordpress, such as W3 total cache, Super cache, WP Rocket, keyCDN cache, etc.. So many to choose from but try different ones, check with GT metrix and compare results.

That would be the first thing to do.

CentOS 7 Problems / Re: Clone a CWP CentOS 7 server
« on: March 10, 2018, 07:16:28 PM »
I'm willing to assist! I actually did this last week because my main server was going in and out, so I bought a second one as a failover, and moved all my data to the new server. Wasn't awful but I did have to jump through some hoops to make it happen.

I'd be willing to help though, you can email me ( or message on Google hangouts with that email.

I can build it / Re: Cheesy varish stats page for CWP
« on: June 27, 2017, 02:58:52 AM »
Loved this! worked great for me!
Screen shot for those who consider using this! It's just one window from the page

I can build it / Re: OpenVZ with CWP
« on: June 27, 2017, 02:54:24 AM »
Keep up the great work! I'll keep an eye on this progress ;) Don't get discourage and keep making this a reality for CWP :D

New Modules / Re: [module] Speedtest your server in 30 seconds
« on: May 02, 2017, 06:53:44 PM »
Sadly I can't modify my first post  :-\  ???

But for the 3rdparty.php; it still works. You just need to create it  ;)
From SSH you can simply CD into /usr/local/cwpsrv/htdocs/resources/admin/include and do "touch 3rdparty.php" command

Then follow the steps above with normal modules. So modules and 3rdparty support still work.

Informations / Re: 90% Disk I/O on a high traffic website
« on: May 02, 2017, 06:47:11 PM »

i have a high traffic website hosted on my server every time the user number goes above 1000 the server hits a 90% Disk I/O for a while

Can anyone recommend something i can do to lessen the load?

I have a server with 16GB Ram,  8 x 2.5GHz cores and a 2tb HDD

My first reply to any "High I/O disk usage" is to instantly switch from HDD to SSD! You'll see both your IO and Cpu load go DOWN. No joke. You can run a web server that gets 10,000s of hits daily with a small 120GB SSD with your current setup and never go above 2.00 CPU average load.  8)  ;D

New Modules / Re: [module] Speedtest your server in 30 seconds
« on: December 26, 2016, 02:08:54 PM »
Updated to 1.1a

* Updated github new link.

How to / Re: How to backup CWP server to B2 Backblaze
« on: November 08, 2016, 09:14:42 PM »
All you have to do after restoring a CWP server with your B2 Backblaze is update the IP address in CWP and rebuild the vHosts in apache  :D, if you have varnish need to edit the default.vcl with the correct IP then restart varnish. If you have letencrypt, be sure to modify the cwp ssl vhost and apache ssl vhosts with the new IP address.

Informations / Re: move CWP from one server to another
« on: November 08, 2016, 09:13:06 PM »
Can you do it with a backup on server A and then do a restore on server B?
As I show in my guide, I was able to move from one CWP to another CWP and do daily complete backup snapshots of my server to B2 Backblaze. Here is my guide

PHP / Re: Problems with switching from PHP 5.4.45 to PHP 7.0.12
« on: November 08, 2016, 09:10:23 PM »
I had problems with this on a newly installed server too just this week. It couldn't find recode.h and some other files that were required.
I'd suggest you try installing the PHP version again, but go to your SSH terminal and do the Tail command that php selector gives you on the last step. Paste it and watch the log to see when the error happens.

Backup / Re: Any way to use Amazon S3 for remote backups?
« on: November 03, 2016, 03:39:34 PM »
I wrote a way to backup to B2 Backblaze, which is way cheaper and a better deal than Amazon S3

How to / How to backup CWP server to B2 Backblaze
« on: November 03, 2016, 03:36:35 PM »
How to backup CWP to B2 Backblaze

I wrote a long article/guide on how to completely backup your server (CWP, files, Mysql databases, everything), compress it, encrypt it, and then upload it to B2 Backblaze (Which is WAY Cheaper than Amazon S3)

You can read it here,

I hope you guys will enjoy the guide and find it useful. Perhaps the CWP admin team can take the guide and make a simple addon to the CWP panel do automate the process. Would be nice wouldn't it? :D

Installation / Re: CWP Version
« on: October 10, 2016, 06:21:11 PM »
I'm not sure about doing it with Shell, But I know you can login with any CWP user and scroll to bottom-right side and see the current version.

Pages: [1] 2 3 4