After switching a WordPress website to FPM served by nginx in Plesk, it fails to load with “404 Not Found” on all pages except start page

After switching a WordPress website to FPM served by nginx in Plesk, it fails to load with “404 Not Found” on all pages except start page. See: https://support.plesk.com/hc/en-us/articles/213912945-A-WordPress-website-on-a-Plesk-server-shows-404-Not-Found-on-all-pages-except-index-php-when-running-on-FPM-by-nginx For one website In Plesk, add the content below to the Additional nginx directives field of the WordPress domain at Domains > example.com > Apache & nginx … Read more

Mariadb default logs location & –log-error

I am using mariadb and I to investigate some issue I wanted to check the logs. To my surprise, log file is not generated for mariadb. I suspect this cannot be the case so I am doubting my search skills. I have added the entry in my.cnf still above field is coming to be empty. … Read more

Network Throughput Testing with iPerf

iPerf is a command-line tool used in diagnosing network speed issues by measuring the maximum network throughput a server can handle. It is particularly useful when experiencing network speed issues, as you can use iPerf to determine which server is unable to reach maximum throughput. Basic usage: run iperf -s on machine A then go … Read more

Curl Error With IPV6

Recently, there was an issue with a curl command that ran a script with php. The curl command would finish after a lengthy time as before it was completing within seconds. The issue turned out to be that the command was using the IPV6 connection where in the data center the IPV6 was not active. … Read more

Azure (Expand Disk)

How to expand a disk in Azure Windows https://querysurge.zendesk.com/hc/en-us/articles/115002530951-Azure-Expand-Disk- Linux https://docs.microsoft.com/en-us/azure/virtual-machines/linux/expand-disks

Subnet to Mask Bits conversion table

Subnet to Mask Bits conversion table Mask CIDR Length (Mask Bits) 128.0.0.0 1 192.0.0.0 2 224.0.0.0 3 240.0.0.0 4 248.0.0.0 5 252.0.0.0 6 254.0.0.0 7 255.0.0.0 8 255.128.0.0 9 255.192.0.0 10 255.224.0.0 11 255.240.0.0 12 255.248.0.0 13 255.252.0.0 14 255.254.0.0 15 255.255.0.0 16 255.255.128.0 17 255.255.192.0 18 255.255.224.0 19 255.255.240.0 20 255.255.248.0 21 255.255.252.0 22 … Read more

Benchmark Apache

How to test apache. Create 2 files: testload.php test.php Create a php file testload.php that checks the existence of another file named test.php in the same directory of two CentOS 7 servers with the same hardware characteristics and load but with different MPM. One of them will use event and the other one will use … Read more