How To Redirect Your Site To Another Domain Using .htaccess

How To Redirect Your Site To Another Domain Using .htaccess

In this tutorial we will teach you how to create a .htaccess file so you can redirect your web site or other contents of your web site to another domain name/web site. To use the following types of redirection you will need to create an empty text file using your favorite text editor, and save it as .htaccess and after that put the redirection type you need and save the file. Examples of just a couple Redirection types you can use: 301 (Permanent) Redirect: This type of redirection will permanently point your entire web site to a different URL. In most cases this […]

Read more

A Cool Script To Backup Your MySQL / MariaDB Databases Using FTP

In this script an automatic FTP backup will pickup up your sql.tar.gz and upload the file to a remote FTP server running CentOS. So, you may wonder how all this works and how to automate entire procedure to be able to upload file /tmp/backup/sql.tar.gz? In the most simple scenario you can use a standard FTP client to transfer the backup file on the remote server.  Here is a quick script to upload file: #!/bin/sh USERNAME=”your-ftp-user-name” PASSWORD=”your-ftp-password” SERVER=”your-ftp.server.com” # local directory to pickup *.tar.gz file FILE=”/tmp/backup” # remote server directory to upload backup BACKUPDIR=”/pro/backup/sql” # login to remote server ftp -n -i $SERVER […]

Read more

How to install Redis and Redis-PHP in DirectAdmin CentOS Linux VPS

How to install and enable PHP SOAP, INTL and XMLRPC in DirectAdmin

The following article will show you how to install Redis and Redis-PHP in a DirectAdmin CentOS Linux VPS. What is DirectAdmin? DirectAdmin is a powerful, web-based hosting control panel which makes managing websites, databases, e-mail accounts, ftp accounts and much more on your Linux VPS much easier and much faster. More information about DirectAdmin can be found on the official website at https://www.directadmin.com What is Redis Redis is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, […]

Read more

Install and configure Nginx PageSpeed module in a DirectAdmin Linux VPS

Install and configure Nginx PageSpeed module in a DirectAdmin Linux VPS

The following article will guide you through the steps on how to install and configure Nginx PageSpeed module in a DirectAdmin Linux VPS. What is DirectAdmin? DirectAdmin is a powerful, web-based hosting control panel which makes managing websites, databases, e-mail accounts, ftp accounts and much more on your Linux VPS much easier and much faster. More information about DirectAdmin can be found on the official website at https://www.directadmin.com What is NGINX? NGINX is the world’s most popular open source web server and load balancer for high-traffic sites, powering over 140 million properties world-wide. It started out as a web server […]

Read more

How to setup HTTP2 in cPanel/WHM Linux VPS using EasyApache3

How to setup HTTP2 in cPanel/WHM Linux VPS using EasyApache3

In today’s tutorial we’ll show you how to setup HTTP2 in cPanel/WHM Linux VPS using EasyApache3. Although this feature is still in BETA (as of writing this article), it’s been well tested by the team at VPSinEU.com and it works perfectly fine. What is HTTP/2? It is a major revision of the HTTP network protocol used by the World Wide Web. It was developed from the earlier experimental SPDY protocol, originally developed by Google. In other words, the main differences between HTTP/2 and HTTP/1 are the following: HTTP/2 is binary, instead of textual HTTP/2 is fully multiplexed, instead of ordered […]

Read more