Welcome to W3Space Blog

Step-by-Step Tutorials

Installing an SSL certificate for your hostname using LetsEncrypt in directadmin

cd /usr/local/directadmin/scripts./letsencrypt.sh request_single your.hostname.com 4096which will also install the new cert/key/ca files in all respective global places for apache, dovecot, exim, ftp, and DirectAdmin.NOTE The hostname value, eg: your.hostname.com must match the “servername” value set in the directadmin.conf, or it will not be in hostname mode, but User domain mode instead. You must then turn on SSL in DA and… read more »

 1,113 total views

Automatically setup LetsEncrypt SSL for *all* domains that do not currently have a certificate in directadmin

The new LetsEncrypt feature is a great way to easily secure your website connections at no cost.  If you already have many website that you want to secure all at once, you can use the autoletsencrypt.sh script to do this. Make sure you’ve already enabled LetsEncrypt on the system: Then you can install certificate for all domains:cd… read more »

 1,282 total views,  3 views today

How to enable LetsEncrypt in directadmin

LetsEncrypt is a free SSL tool that lets you install a very basic free SSL Certificate with 1 click.  It supports multiple domains and sub-domains, and will auto-renew automatically before it expires after it’s ~90 day lifespan. To enable this feature in DirectAdmin, ensure you have DirectAdmin 1.50.1 or newer. If you’re running CentOS 6… read more »

 1,158 total views,  12 views today

How to make DirectAdmin listen on port 2082 for HTTP requests and port 2083 for HTTPs

A: Just set the following settings in /usr/local/directadmin/conf/directadmin.conf and restart DirectAdmin:Code: port=2082 ssl_port=2083 If you would like to let customers use just the SSL on port 2083, set:Code: ssl=1 port=2083 Related: https://help.directadmin.com/item.php?id=2101  912 total views,  3 views today

 912 total views,  3 views today

How to upgrade mariadb or mysql in directadmin

To upgrade  MariaDB using the custombuild script, do the following: cd /usr/local/directadmin/custombuild./build set mariadb 10.3./build set mysql_inst mariadb./build set mysql_backup yes./build update./build mariadb ./build php n Where mariadb can be 5.5, 10.0, 10.1, 10.2 or 10.3 A full raw sql backup will be run prior to the upgrade if you have mysql_backup=yes set.  It goes without saying, always make backups, either… read more »

 1,044 total views,  3 views today

How To Set Or Change A Hostname In CentOS 7

A hostname is simply the name a server goes by on the network. Setting a unique hostname is an excellent way to quickly find and identified different servers on your network. There are three 3 types of hostnames. The static hostname is the most important one, and it’s stored in the /etc/hostname file. This hostname is used among machines to identify… read more »

 649 total views

“Traditional” Theme or cPanel/WHM Clone theme for Directadmin

Here is a theme for Evolution, which is named “traditional”. As it’s layout-only thing, you get new features with every update of Evolution   It’s first iteration, so, if you’d like something to be applied for this specific subtheme – please mention it in this thread. To get it installed:1) Make sure DirectAdmin version is at… read more »

 1,476 total views

Install Zend Optimizer/Guard, Ioncube.

For Zend, type: cd /usr/local/directadmin/custombuild./build set zend yes./build zendafter changing php versions, it’s recommended you install zend again.Note that Zend Guard is the new name for Zend Optimizer, and is used for newer versions of php. Custombuild will install the correct one for your system. For Ioncube, type: cd /usr/local/directadmin/custombuild./build set ioncube yes./build ioncubeThe “./build… read more »

 687 total views

Enabling Multiple PHP versions On DirectAdmin

It is convenient to have multiple PHPs in a server. DirectAdmin control panel has this feature available. With this, you can have legacy PHP versions to the latest stable versions. This will allow the server to support legacy software along with the latest software. This can be achieved by using the CustomBuild tool which is… read more »

 567 total views,  3 views today