How to downgrade from apache 2 back to apache 1.3

If you need to go back to apache 1.3 after installing apache 2, you’ll need to do the following: 1) Restore the old httpd.conf file: cp -f /etc/httpd/conf/httpd.conf.1.3.backup /etc/httpd/conf/httpd.conf 2) Get DirectAdmin to use the old httpd.conf files for the users. Edit the /usr/local/directadmin/conf/directadmin.conf file and change apache_ver=2.0 to apache_ver=1.3.

I can’t login to DirectAdmin on port 2222

If you are unable to access your server via https://1.2.3.4:2222, then 1 of 3 things is likely happening: 1. DirectAdmin might not be running or 2. You have a firewall blocking port 2222. Number 2. is easy to check by simply running (only on redhat systems): /sbin/service iptables stop /sbin/chkconfig

How do I upgrade PHP4 to PHP5 in Direct Admin control panel?

SSH to server as root and then perform the following: https://www.directadmin.com/forum/showthread.php?s=&threadid=5663&highlight=php5 * Compile the PHP 5 lib for Apache * – Download php to a temporary directory (https://www.php.net/downloads.php) – cd [the temporary directory] – tar zxvf php-5.0.x.tar.gz – cd php-5.0.x – /usr/local/directadmin/customapache/configure.php ( _ap2 for Apache2) – make – make

How do I use a custom VirtualHost template?

If you wish to change the setup of the VirtualHosts for all domains, you can do so by creating your own custom templates. cd /usr/local/directadmin/data/templates cp virtual_host*.conf custom cd custom Once you’ve copied the 4 VirtualHost files (or just the ones you want) to the custom directory, you can then

How do I transfer a domain from one user to another?

Go to Reseller Panel -> Manage User Backups and make a backup of the user who owns the domain you want to transfer. Login as that user, go to User Panel -> Domain Administration -> Change domain name, and change the name of that domain to something different (ie: from

How do I make diskuage, and webalizer stats update more?

Cron is the tool used to control the update frequency of the stats. You can easily change the frequency by modifying the cron job. Cron file for RedHat: /etc/cron.d/directadmin_cron Cron file for FreeBSD: /etc/crontab Edit the cron file and locate the line that looks like the following: 10 0 *

How do I install Direct Admin on Linux systems?

Step 1) Do you meet the system requirements? – Clean OS install: Redhat 7.2, 7.3, 8.0, 9.0, Fedora (any version), CentOS (any version). PS :- The setup file for Redhat also works for Fedora and CentOS (any version). – At least one external IP address (NAT/LAN-based systems will NOT work).

Install Perl Module

On a server with CPanel, you can log into the WHM and install it there. If that for some reason doesn’t work for you, you can log into the shell as root and install it via the command line. Once logged in, from any directory, type: echo “HTML::Template” | /usr/local/cpanel/whostmgr/bin/perlmod

Setup automounter to mount NAS backup share

RedHat, as well as other distributions, contain the AutoFS utility. This will allow you to mount your NAS share automatically in a directory. There are only a couple things that you need to do to have this setup correctly. First, you will need to make sure that autofs is starting

How do I perform tuning with sysctl?

sysctl is an interface that allows you to make changes to a running FreeBSD system. This includes many advanced options of the TCP/IP stack and virtual memory system that can dramatically improve performance for an experienced system administrator. Over five hundred system variables can be read and set using sysctl.

Change Access Permissions from the Command Line

Need to change your access permissions using only the command line? Thankfully, a utility called CACLS.EXE comes standard with Windows, and can be used from the command prompt to do just that. For more information check the help documentation included with the CACLS.EXE program (cacls /?).   Using the Command