Windows Server logo

“A domain rename operation is already in progress”

2014-11-26

The other day, when I attempted to add a newly installed Active Directory to become the slave domain controller of a master, the error message "A domain rename operation is already in progress" was displayed. Promoting the Windows Server 2012 R2 server to a Domain Controller failed.

Sysadmins of the North goes global!

2014-10-29

How to set up a global Geolocation DNS load balancing Varnish Cache Content Delivery Network with Bind9, geo-ip database, Varnish Cache and DigtalOcean. DIY High-Availability for your website!

blue elephant plush toy on black laptop computer -- Photo by Ben Griffiths

How to set a good PHP realpath_cache_size

2014-10-23

Learn how to optimize PHP performance by checking and setting PHP realpath_cache_size. The realpath_cache_size size represents the total number of bytes in the path strings stored, plus the size of the data associated with the cache entry

blue elephant plush toy on black laptop computer -- Photo by Ben Griffiths

Check website availability with PHP and cURL

2014-09-10

A useful PHP script to check if your website is up and online available. It uses PHP and cURL. This script comes in handy because website uptime and availability is important, and you want your website to be always online available.

Microsoft Internet Information Services (IIS) logo

Remove IIS Server version HTTP Response Header

2014-07-06

Windows Server IIS loves to tell the world that a website runs on IIS. It does so with the "Server:" header in the HTTP response, as shown below. In this post I'll show you how to remove HTTP response headers in Windows Server IIS. You don't want to give hackers too much information about your servers, right?.

Postfix logo

Delete all MAILER-DAEMON emails in Postfix queue

2014-06-04

How to delete all MAILER-DAEMON emails from your Postfix queue, when it matches a sender or recipient email address condition. In Postfix, there are various similar commands to delete messages from the Postfix mail queue, based on the Message-ID and/or email address for example...

a rusted iron gate with a chain hanging from it

Test SMTP authentication and StartTLS

2014-05-17

Investigate SMTP authentication issues like a boss! When using TLS encrypted SMTP connections, it's always handy if you are able to create a SMTP logon credentials and test SMTP authentication over a TLS/StartTLS connection. Preferably from your command-prompt.