Home » Web Servers

Performance and Security Tutorials for Apache, Nginx and LiteSpeed

Web servers are the heart and soul of the internet. Without them you shouldn’t be able to even read this text. Our Web Server Tutorials will help you to tweak the performance and security in Apache, Nginx and LiteSpeed web servers.

How to Find Out Nginx Web Server Version

How can I print Nginx web server version from the Linux terminal? In order to find out Nginx version, you need to pass the -v or -V options to the nginx binary: Example: nginx -v Output: [[email protected]:~]nginx -v nginx version: nginx/1.11.7 The -v option passed to Nginx shows only the nginx version number, but we can get more…

Read More »

Linux: How can I Restart Nginx WebServer?

How can I restart nginx web server on Linux? In order restart nginx web server, you can use any of the next commands. Make sure you run this commands with root privileges: service nginx restart or /etc/init.d/nginx restart However, be aware that restarting Nginx webserver may interrupt all active connections. For this case, it is better to reload…

Read More »

How can I configure WordPress Permalinks in Nginx?

WordPress usually works fine without any tweaks on Nginx fresh installations. WordPress posts load fine without any issues, however the default WordPress permalinks are not optimized to be SEO friendly. On this post we will learn to WordPress permalinks in Nginx But first, let’s learn the types of permalinks that exist, and how to choose the right permalink…

Read More »

Nginx 413 Request Entity Too Large Error

When you are using Nginx as a reverse proxy for Apache (or other web services) you may face this common HTTP issue: Nginx 413 Request Entity Too Large Error Why does Nginx 413 Request Entity Too Large error happens? The common scenario for this error is when you are running Nginx as front end server for a backend…

Read More »

Missing owner for domain, force lookup to root

Today we have a quick tip for a warning we saw in one cPanel box recently: after rebuilding Apache configuration, you may get this weird error message: [email protected] [~]# /scripts/rebuildhttpdconf info [rebuildhttpdconf] Missing owner for domain server.nixcp.com, force lookup to root Built /usr/local/apache/conf/httpd.conf OK This error is related to the hostname of the server, but it doesn’t really…

Read More »

How to Fix Nginx 502 Bad Gateway php-fpm Error & Fix on cPanel

502 Bad Gateway is one of the most popular Nginx error messages on the Internet. Sometimes it is a temporary error, and sometimes it is a critical and permanent error, just in case let’s getting started by opening your browser in safe mode and try again making another http request without any browsers cache in the middle, just to…

Read More »

Apache: Resource temporarily unavailable: setuid: unable to change to uid

Today we discovered a weird issue in one cPanel box, it was having a strange Apache error and it was crashing on and on. We checked the logs and found this error: Resource temporarily unavailable: setuid: unable to change to uid: [Tue Apr 27 10:01:03 2016] [alert] (11)Resource temporarily unavailable: setuid: unable to change to uid: 99 [Tue Apr 27 10:01:03…

Read More »