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.


Topics - kandalf

Pages: 1 [2] 3
16
DKIM / DKIM record not generated
« on: March 14, 2022, 10:26:50 AM »
I have 3 servers with CWP (2x centos 7 and 1x centos 8 stream delayed), the Centos 8 is my most recent server, I think I configure everything correctly but the cwp is not generating a DKIM record for new domains added.

I use cloudflare go manage the dns, usually I add a new domain it created the dns records locally and I copy the values to cloudflare, but on my new server the DKIM record is never created.

I already rebuild multiple times the mail server, I tried to go to Email -> DKIM manager and "Add DKIM" but it never adds a dkim record, it show a success message but don't do nothing.
When I add a new domain in the other server if I go to Dkim Manager I get all columns green, in the new server I get
TrustedHosts = Red   
KeyTable = Red
v=DKIM1 = Green
v=spf1 = Green

I already tried do add the domain to /etc/opendkim/TrustedHosts manually and in that case I can turn TrustedHosts to green, but the dkim record is never generated. I saw that the /etc/opendkim/userkeys/ folder don't even exist I have a /etc/opendkim/keys/ but it's empty, I tried to create that folder but even after rebuild mailserver it still empty.

Please any tips to solve this problem

17
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.

18
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?

19
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?

20
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?

21
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

22
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

23
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

24
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?

25
Information / Bandwidth monitor with historic
« on: February 18, 2022, 10:00:15 AM »
I think CWP should have a Bandwidth monitor not like the current one that only show the current bandwidth consumption but something like vnstat, that shows a log of consumption but month, by day and even by hour.

This is really useful, for example I have enabled remote backup and I don't have any idea how much data it being sent every day.

26
Backup / There are any backup logs?
« on: February 16, 2022, 09:30:32 AM »
I'm using the old backup system with remote backups (via ssh with rsync), there are any backup logs? I want to know how many time takes to do the backup, to calculate the transfer speed between both servers.

Another doubt the backup will be duplicated (in current server and in the remote server) or it will only send to the remote server and erase it on the current one?

27
The default PHP version on my server is PHP 7.3 I want to update it to 8.0 or 8.1, but since I have lots of websites most of them are using the current default version I want to keep that websites with the current version. There are any way to do that automatically?

Some websites are already using a custom php version, that websites will be not affected by this, but the ones that don't set a custom php version I need to force to set version 7.3 before uptade the default php to 8.1

28
CentOS-WebPanel Bugs / In client panel "Fix Account Issues" not working
« on: January 26, 2022, 11:36:25 AM »
I saw that in client panel we have a new option called "Fix Account Issues" but when I click on it I get this error in a blank page "Error, module does not exist"

How can I fix this?

29
Apache / WebServers Domain Configuration Reset
« on: January 10, 2022, 09:57:04 AM »
I work with multiple Laravel websites on my server so I have created a template for apache and nginx to handle laravel instalations, after I create a new domain I go to "WebServers Domain Conf" and set a custom template, everything works well but sometimes without any reason some domians lose that custom template, this is really strange.

Any tips?

For example I can have an account with 3 domains with custom template most of the times the only one of that domains will be reset to the initial template, usually this happens more in new domains, I add a new domain create add the custom template everything work and 1 ou 2 days later it lose that custom template and return to de default

30
Installation / New server which OS do you recommend
« on: November 12, 2021, 02:22:38 PM »
I have production server with Centos 7 and I need to buy a second server should I stay with Centos 7?

I have read that RockyLinux also works, at this moment what do you guys recommend?

Other question it will be possible to update Centos 7?

Pages: 1 [2] 3