VirtualMin WordPress Nginx Permalinks 404 [Solved]

On default virtualmin install with LEMP, running nginx, the permalinks for WordPress don’t work properly and give a 404 error. This article explains how to fix this issue. Why WordPress permalinks show 404 in virtualmin fresh install? The reason is nginx configuration file. The configuration for wordpress needs some extra lines of code and logic […]

Add Subdomain on Nginx

This tutorial explains how to add a subdomain on nginx server to your already existing and running nginx server. How to add a subdomain in nginx using terminal Nginx treats a new subdomain as a new entity, so basically the process of adding new subdomain is similar to adding a new domain name to your […]

Cpanel error while adding the redirect [solved]

While adding a permanent 301 redirect to one of my old domains onto a new one hosted on a cpanel based server I encountered an error saying: “There was an error adding the redirect.” Redirecting “” to http://my-new-domain.com/ will cause a redirection loop because http://my-old-domain.com/ , which is located at “/domain/location/both/are/same/” is above “/domain/location/both/are/same/”. Well […]

How to disable directory listing / browsing – cPanel

By default servers allow directory browsing via http frontend to the visiting users. However you might want to disable directory listing in some situations where you don’t want to allow your users to see the files and folders present in the web servers directories. Servers show the directories and files if default files aren’t present […]

IP address has changed – cPanel webmail error

Got a phone call from one of my friend today that he’s unable to login to his cpanel webmail to access his email account on the server. He sees the login screen, upon logging in it redirects him to the same screen with error saying: IP address has changed Upon testing it on my computer, […]