PowerDNS

PowerDNS with BIND named.conf syntax

Tell PowerDNS to use your Bind Zone
You need to edit your pdns.conf file, edit or add the following lines:

launch=bind
bind-config=/etc/named.conf
bind-check-interval=300

Important notes are:

launch tells to use the bind backend
bind-config tells where the manifesto is
bind-check-interval tells to check the zones each 300 seconds, if you do a change you don’t need to restart …Read More

Remove Billing And Support Integration CPanel

To remove billing and support from cpanel, you can run below command

whmapi1 –output=json remove_integration_group user=$user group_id=whmcs

 

Rebuild caches just in case:

/usr/local/cpanel/bin/update_appconfig_apps

/usr/local/cpanel/bin/rebuild_sprites

Introducing ZoneCloud

ZoneCloud, DNS Clustering for Web servers done right.
 
What is zonecloud?
ZoneCloud (or zCloud) is the very first panel agnostic and distribution independent solution. – It consists of three parts:

ZoneCloud Controller receives DNS records from your web servers  and pushes them to DNS servers (Nodes / zCloudNode).
ZoneCloud Agent The Agent …Read More

Apache Security

Apache httpd hardening

Introduction
Apache is one of the most widely-used and popular web servers. It is also one of the most secure web servers available. In this article, I will explain some tips and tricks that will secure your Apache server.

This is a generic ‘quick n dirty’ hardening profile.

 
Hide version:

 

 
Turn Off Server-Side Includes …Read More

Enable Apache UserDir In CentOS 7 / RHEL 7 with SELinux

htaccess https simple redirect

How to redirect HTTP traffic to HTTPS using an .htaccess file

The below code when added to an .htaccess file will automatically redirect any traffic destined for http: to https:

 

This is generic code, no domain or page or subfolder needed in the htaccess code.

 
Redirect From Old Domain to New Domain *keeping* …Read More

HTTP error codes and fixes

Common HTTP Error codes and fixes

Here’s a list with the most common HTTP error codes and solutions for each one.

Error 500: Internal Server Error
Cause 1: Syntax error in .htaccess
Cause 2: Invalid files/directories permissions
Other causes
Errors 502: Bad Gateway & 504: Gateway Timeout

Error 503: Service Unavailable

Error 508: Resource Limit Is Reached

Error 500: Internal Server Error
Error 500

Cause 1: …Read More

Installing Virtualmin

What is Virtualmin?
Virtualmin is a powerful and flexible web hosting control panel for Linux and BSD systems. Available in an Open Source community-supported version, and a more feature-filled version with premium support, Virtualmin is the cost-effective and comprehensive solution to virtual web hosting management.
Requirements
Any of the below OSes and architectures:

Read More

Installing docker with Ubuntu 16.04 LTS, Mint 17 and CentOS 7

Installing docker with Ubuntu 16.04 LTS, Mint 17 and CentOS 7
A brief introduction to virtualization
Today we will learn installing docker with Ubuntu, mint and CentOS 7 Linux,  Before the evolution of the concept of virtualization, to run one application one dedicated server was required,  if you wanted to  run 20 …Read More

Things to do after installing Ubuntu 16.04 LTS

Things to do after installing Ubuntu 16.04 LTS
To have a fully functional and smoothly running Ubuntu 16.04 Desktop users need to have some services application running before they start working with this fresh flavor of Ubuntu, although it depends upon nature of services for which system will be utilized, we …Read More