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

Pages: 1 2 [3] 4 5 6
31
Apache / Serve index.php first than index.html
« on: March 12, 2022, 09:07:45 AM »
I updates Apache to version 2.4.52, and some sites on the server start showing the default cwp page, this happens because the index.html start being handle before the index.php, the websites where I forget to delete the index.html are getting problems.

How can I change the settings to restore the previous configuration and start serve first the .php files?

I use Apache with nginx and use php cgi.

32
E-Mail / Re: How to change MX record to subdomain?
« on: March 11, 2022, 06:14:01 PM »
Yes with cwp I know that the MX record is only the domain, my question is there are any way to create a subdomain and use it on the MX record?

I have a subdomain mail.domain.com that is pointing to the server, but if I use that subdomain on the MX record the emails I never receive any email.

33
E-Mail / How to change MX record to subdomain?
« on: March 10, 2022, 04:30:22 PM »
In many panels the MX record is something like "mail.domain.com", but in cpanel the MX record is only the domain in this example is "domain.com".

If I set a different mx record for example "mail.domain.com" even if that subdomain points to the server I don't receive any email, how can we create a different mx record that works?

34
PHP / Re: PHP 7.4 Startup: snuffleupagus: Unable to initialize module
« on: March 07, 2022, 08:26:23 PM »
Did you solve this problem? I have the same problem

35
I have multiple accounts in my server most of the users have a limit of 40 processes at the same time, but in the last days some of the wordpress websites are getting hit by some bots doing login attemps, the problem is that in that times the cwp don't limit the number of proccess, and an account can have many more processes that was supposed.

I'm using netdata, and I can check the number of processes in a specific time:

As you can check the user dietafin have 269 processes at the same time that account should be limited to 40processes.

What is wrong and how can I force the limit to be applied?

36
Backup / Storage Box Hetzner via SSH
« on: February 28, 2022, 06:18:16 PM »
Storage Box from hetzner.com are a cheap option to create remote backups it supports rsync via SSH but I can't make it work.

Anyone have already tested it? If I ran on the server the rsync command it connects to the storage box, but I have tried both the regular and the new backup system an can't connect.

I think the SSH connection to storage box it's really limited it only can be done directly from the rsync command something like this:
rsync --progress -e 'ssh -p23' --recursive <local_directory> <username>@<username>.your-storagebox.de:<target_directory>

Documentation here - https://docs.hetzner.com/robot/storage-box/access/access-ssh-rsync-borg

I'd like to enable the new backup system using incremental backup via SSH, I thought it use rsync command but probably it try to connect first to do something and it fails.
Any help?

37
Installation / Re: Centos 7 still the recommended version?
« on: February 28, 2022, 06:11:21 PM »
I read some where if your on centos 8 stream you cant migrate to any thing after that i moved to rocky linux 8 and every thing is working fine.

I also read that and it's other reason that probably make me go for the centos 8 stream delayed

38
Installation / Re: Centos 7 still the recommended version?
« on: February 28, 2022, 01:45:41 PM »
yes, centos 7 is still the most covered with all services while el8 is now also mostly all covered including cwp kernel.
So it's up to you about the version you want to select, note that el7 to el8 update is not possible, however, there is a cwp-to-cwp migration tool for account migration.

But there are any relevant service that it not covered in el8? Or some known important bug?
It's a little annoying to buy a new server and know that in 2 years I will need to move everything from there.

39
Installation / Centos 7 still the recommended version?
« on: February 28, 2022, 11:47:24 AM »
I will buy a new server I read on the official documentation that Centos 7 is the recommended version, we also have the centos 8 stream delayed or even Rocky Linux. This information is updated? Do you still recommend Centos 7?

When the Centos 7 reach the end of life it's possible to update for example to Centos Stream or I will need to create a new installation and migrate manually everything?

It's a little strange to install a OS with about 2 years of life, it's a lot of work to migrate websites and emails and everything related

40
Apache / Re: nginx -> apache -> php-fpm VS nginx -> php-fpm
« on: February 28, 2022, 09:15:38 AM »
using apache allows you to have more flexibility as for nginx all config needs to be done in the nginx vhost conf file,
while apache is more flexible with additional modules and rules like with htacces, PHP custom configuration .user.ini ...and even some scripts will not work well with nginx only.

But with nginx -> apache -> php-fpm all regular htaccess rules will work like in my current config that is Nginx + Apache php-cgi?

yes and no. Everything will work normally in htaccess except the rules that nginx has been specifically configured to take over. Either way, the best server option is "nginx - varnish - apache - phpfpm"

In reallity at the moment in my current server  I have nginx - varnish - apache php-cgi, but I think varnish it not working. After reading a little but varnish seems a little tricky, we need to configure and test it on every website, I will host losts of client websites I don't want to implement anything that required a special configuration for each one.

I'm more interested in have a default configuration like nginx - apache - php-fpm and if I required for some website enable the nginx - varnish - apache - phpfpm

41
Apache / Re: nginx -> apache -> php-fpm VS nginx -> php-fpm
« on: February 27, 2022, 12:49:31 PM »
using apache allows you to have more flexibility as for nginx all config needs to be done in the nginx vhost conf file,
while apache is more flexible with additional modules and rules like with htacces, PHP custom configuration .user.ini ...and even some scripts will not work well with nginx only.

But with nginx -> apache -> php-fpm all regular htaccess rules will work like in my current config that is Nginx + Apache php-cgi?

42
Apache / nginx -> apache -> php-fpm VS nginx -> php-fpm
« on: February 27, 2022, 10:17:32 AM »
I found that CWP have a configuration that is nginx -> apache -> php-fpm what are the advantages of this instead of nginx -> php-fpm?

With nginx -> apache -> php-fpm can we still use .htaccess?

At the moment I'm using Nginx + Varnish + Apache php-cgi, I don't know exactly the impact of Varnish since I don't change any configuration but all websites work well.

Most of the examples on the internet use nginx + php-fpm or apache + php-fpm, I don't understand what are exactly the advantages of have nginx + apache + php-fpm

43
Backup / Retention of backup for the last X days
« on: February 21, 2022, 11:43:37 AM »
At the moment the regular backup system can do a daily, weekly and monthly backup, but it lacks a function for example to keep the last 3 daily backups. There are any way to have the last X daily backups?

With the new backup system we already can have a backup for each day this will required the have space for at least 7 days, there are any way to get only for the last X days, this is very common in many systems but I don't know how to implement it on CWP

44
There are any way to do that automatically?

No.

PHP-FPM is your answer

Why?

Your first post shows that you know a bit about how these things works. That's why he gave you the short answer.

The long answer:

1. Install PHP 7.3 through PHP-FPM.
2. Go to Webserver Domain Conf and choose the domain(s) you want to stay with 7.3.
3. Select the appropriate Webserver configuration and then tell the panel to apply PHP-FPM 7.3 to those sites.
4. Double check everything is working right on those domains.
5. Now, upgrade your default PHP version to 8.x.

Now all websites will be using PHP 8.x except those domains you told the panel to keep using PHP-FPM 7.3 at point 3 above.

Manually I know that I can create a custom configuration for each domain but do this for more than 200 domains, it's better for me buy a second server and keep the current one with this old php version.

All my websites use regular PHP running under Apache, I can't change it to php-fpm because it requires that I change the .htaccess in every website, lots of this websites are managed by my clients.


45
Backup / Enabling remote backup will keep the files in the current server?
« on: February 18, 2022, 10:04:38 AM »
I have enabled the remote backup, but I still have the backups in the current server, can I erase it or the remove backup it's only a duplication of my local backup?

In other words can we have only the remote backup without store the anything in the current server?

Pages: 1 2 [3] 4 5 6