How to Solve “Cannot Load the ionCube PHP Loader” Error After Upgrade php from Version 5.2 to 5.3
To check if ioncube PHP Loader loading fine, you may use the following command: php -m This command will show you the loaded modules of php, check if “ionCube Loader” and “Zend Modules – the ionCube PHP Loader” loaded in the list. If not, please refer to Here for the guide on how to build Zend optimizer and ionCube loader. And if you are sure that you have had PHP, ionCube loader and Zend built, and still have the same error, you should use the command below to check on the php.PopularHow to Fix Bounced Message "retry time not reached for any host after a long failure period"
If you receive complaints from people sending mail to you with the following error "retry time not reached for any host after a long failure period", it is likely due to an error with the server sending mail at their end. The Exim Retry Database has likely become corrupt and would need to be fixed before they could retry sending mail to your email address/domain. T=remote_smtp: retry time not reached for any host after a long failure period The following are the solutions to the above probPopularHow to Whitelist Email Address in Direct Admin (Spam Assassin)
Login to Direct Admin console and click on your target domain. Click on Spamassassin setup. Scroll down and enter the full list of emails which you intended to whitelist as seen in the example below: Press the Save button to finalize the latest changes.Some readersSetup MX Record for G Suite Inside Direct Admin
Login to your Direct Admin account e.g. www.yourdomain.com:2222 Click on DNS Management. Note: _If your Direct Admin does not have this feature, please inform our support team to enable it. _ Scroll down to the bottom (under the Add Domain Records section). Type ASPMX.L.GOOGLE.COM. and select ‘0’ for the MX record as shown below. Press Add to confirm changes. !Some readersHow to Remove Your IP from Blacklist
The Direct Admin control comes with the Brute Force Attack Monitor where it will block the attacker ip from accessing the control panel at port 2222. If there’s a lot of failure login to access the control panel, the user IP will be blacklisted as well and it will be released after a certain time (depending on your configuration in the Direct Admin control panel). If you wish to remove the ip blacklist immediately, you will need to perform the following: Step 1 : SSH to the server Step 2Some readersHow to Install ImageMagick PHP Extension on Direct Admin Server
|| NOTE: The latest source code repository for ImageMagick can be found at https://pecl.php.net/package/imagick Perform the following steps inside SSH server. wget https://pecl.php.net/get/imagick-3.4.3.tgz tar -zxf imagick-3.4.3.tgz cd imagick-3.4.3 phpize ./configure —with-imagick=/usr/local make make install The above steps should be sufficient to complete the installation of ImageMagick. You may perform the following steps if you encounter the follSome readersHow to View Apache Usage and Error Logs in Direct Admin
In the DirectAdmin control panel, there’s an option to view the usage and error logs that we can refer to, for http request to our site or the error for our application. Step 1 : Login into DirectAdmin control panel. Step 2 : Select on Site Summary / Statistics / Logs Step 3 : Select on Full Usage Log or Full Error Log.  Here's how you can perform the setup for " Domain Name Pointer ": Login to Direct Admin and click on Domain Pointers under Advanced Features. 
Login to your Direct Admin console and click on your target domain name. Under Email Management section, click on E-Mail Accounts Tick the email accounts which you wish to purge the emails. There is a dropdown list on the right of ‘Purge From’ button, select ‘Inbox’. 
The File Manager is a web-based tool built into the DirectAdmin control panel that allows you to manage your website's files and folders directly through your browser, without needing a separate FTP program or SSH connection.| Log into DirectAdmin Dashboard via this link http://yourdomain.com:2222 | Note: Replace yourdomain.com with your real domain Search for File Manager You can find the File Manager under "System Info & Files" 
Edit /etc/exim.conf Search for message_size_limit and edit the value. M = Megabytes. Restart Exim by using the command as follows: service exim restartFew readersHow to Disable Local Mail Server in Direct Admin
Login to your Direct Admin dashboard. Click ‘MX Records” under Email Management as shown below Untick the box located under Local Mail server, then click the “SAVE” button. || *Note: Making modifications to the MX reFew readersHow to Create Subdomain in Direct Admin Control Panel
Login to your Direct Admin Console and click on your target domain name. Click on Subdomain Management. Enter your new subdomain details as shown in the sample below before pressing the Create button. The new “subdomain” will be created, and it will appear in the Subdomain Names table.  Cause: DNS issue Solution: Check /etc/resolv.conf for correct record. You can use the nameserver below: nameserver 8.8.8.8 nameserver 8.8.4.4 Case 2 (Common) Cause: An email account spamming and causing the email counter to reach limit. /etc/virtual/usage/<> Solution: Check /var/log/exim/mainlog for spammer Change that email account password Reset counter. Replace <> with directadmin username. echo "X" > /etc/virtual/usage/<>Few readersHow to Detect and Prevent Brute Force Login Attacks in Direct Admin
A common method of gaining access over a server is to use a technique called a brute force attack, or dictionary attack. What the attacker will do, is use a script to try and login to an account with every possible password combination. This tends to require tens of thousands of login attempts, but eventually, the right combination will be found, and they can login normally. Source: http://help.DirectAdmin.com/item.php?id=404 To prevent this, we can use brute force login detection system.Few readersHow to Forward All Outgoing Email to an Email Account. (Directadmin Way)
If customer request for all outgoing email forwarding, we do allow and only allow to forward to non-free email account. Incoming forwarding can use the Directadmin -> Email forwarding function vi /etc/system_filter.exim Scroll to bottom before version history and add the code below if $sender_address_domain is userdomain.com then unseen deliver user@example.com endif Replace userdomain.com with new domain and user@example.com with a new email user. | ForFew readersHow to start phpMyAdmin on Direct Admin Control Panel ?
|| NOTE: You need to create a MySQL database and username first before performing the following steps Login to Direct Admin console and click on your target domain name. Click on MySQL Management Click on "phpMyAdmin" 
Login to Direct Admin console and click on your target domain. Click on Spamassassin Setup as highlighted below: Scroll down and fill in the email under Email Blacklist section. Enter the full list of emails which you intended to blacklist as seen in the example below: NOTE: ${color}[#ff0000](To blFew readersHow to Change Database User Password in Direct Admin
Login to your Direct Admin console and click on target domain. Click on MySQL Management. It will show you a list of MySQL database which you have created previously. You may click on the target MySQL database name e.g. testaccount_umbrella1. 
Catch-all email is a feature to forward emails that sent to non-existent email address of your domain name. In order to configure it, please follow the following steps: Login to Direct Admin console Click Catch-All E-Mail You can specify an email account that catch all entire improperly addressed email accounts instead of rejecting or droppingFew readersHow to Change Email Account Password
Login to Direct Admin console and click on the target domain name. Click on Email Accounts and tick the checkbox on the specific email account before pressing the "change" button on the Password/Quota section as shown below: Enter the new password and press the modify button. You shall see the followingFew readersHow to Change Direct Admin Default DNS Server to Our DNS Server
Login to Direct Admin console and click on your target domain . Click at the Administrator Settings under Extra Features section as show below. Under section Server Settings, you will see something similarFew readersHow to Setup Domain Pointers in Direct Admin
Login to your Direct Admin console and click on your target domain. Under Account Manager, click on Domain Pointers. Then, click the Create Domain Pointer. Domain pointers allow you to forward other domains to your main web site. Make sure to update the records of these domains to the same naFew readersHow to add IP Address in Direct Admin
|| NOTE: The following tutorial will only work if you have administrator access. Login to your Direct Admin control panel and click on **IP Management ** Insert the new IP address in the column and click Add IP.Few readersHow to Modify MX Records in Direct Admin
Login to the direct admin and click on DNS Management Add the IP of the mail server you want at the bottom of the page. After that, delete the existing mail A record. Step 1: Insert mail in the blank field. Step 2: Insert mail server IP, e.g: 1.2.3.4 Step 3: Click on “Add” button. Step 4: Tick on the check box for existing mail A rFew readersHow to Change the Password for Your FTP Account in Direct Admin
In the event you find yourself unable to login to Direct Admin console, you may change the password inside the control panel by following the instructions below: Login to your Direct Admin console and click on the target domain name. Click on FTP Management and tick the box next to the FTP account before pressing the **change **button. 3.Click on the account username “testaccount” and iFew readersHow to Change Direct Admin Password
Login to Direct Admin console and click on your target domain name. Click on Password. Enter your current Direct Admin password together with your latest password you wish to change. Select which account that will be affected with this new password : || mysql> use mysql; Change password for user da_admin, enter: || mysql> update user set password=PASSWORD("NEWPASSWD") where User='da_admin'; Finally, reload the privileges with: | mysql> flush privileges; | mysql> quit; After that, we need to tell directadmin what are the new passwords. Edit withFew readersHow to Enable Directory Password Protection in Direct Admin
Login to Direct Admin and click on your target domain name. Click on Password Protected Directories. If you do not have password protected directories, you shall see the link "Find a Directory to Password Protect". Click on that link to proceed You will be taken to a listing of your public_html directory. To password protect a directory, clickFew readersUsing An External Mailserver
||| Note: The instruction below assumes the use of an external mail server. For other example, you may click on the link at the end of tutorial for other real time use e.g. G Suite setup If you wish to use an external Mailserver, a few changes will need to be made. Go to User Panel -> domain.com -> Email -> MX Records There should be an option for "Local Mail Server". Uncheck that option. You'll need to change the MX dns record to point to the external mailserver. Remove the "mail" MFew readersHow to Avoid Legitimate Emails from Being Sent to Spam Box
In order to avoid legit emails from being delivered to Spam Box, you may perform the following actions. Click on SpamAssassin Setup and select the 2 options below: Once done click “save” button at the bottom of the screen. This will force all emails that are tagged as spam by Spamassassin to be put in inboxFew readersHow to Disable Folder Disk Usage in File Manager
In DirectAdmin there is a feature that calculates the disk usage in File Manager. Sometimes, it can slow down the File Manager and need to be disabled. To disable it, you may SSH to the server and edit the directadmin.conf file as follow: vi /usr/local/DirectAdmin/conf/DirectAdmin.conf Find and modify the value of this directive to 0 (zero), if the directive does not exist, you can manually add it. filemanager_du=0 Please take note that by disabling this feature, this willFew readersHow to Remove a Domain in Direct Admin
Login to Direct Admin console and click on your target domain. Click on Domain Setup. The following screen will display your current domains. Click Select and then click the Delete button to delete your domain.Few readersHow to Add xsl PHP Extension (DirectAdmin)
SSH into the server and navigate to DirectAdmin’s custombuild folder and edit the file shown below: cd /usr/local/directadmin/custombuild vi configure/ap2/configure.php5 Add below line into configure.php5 --with-xsl Save the file and recompile PHP through custombuild: ./build clean ./build php nFew readersHow to Change Direct Admin Default Webmail Folder from Squirrelmail to Webmail
Login to your server back end via SSH Modify the DirectAdmin configuration file by entering the following command: vi /usr/local/DirectAdmin/conf/DirectAdmin.conf Add the following options as follow: webmail_link=webmailFew readersHow to create Administrator
If you would like to have second admin to manage your resellers and users, you can create them ONLY by accessing DirectAdmin with admin privileges. After login to Direct Admin, click on List Administrators On next screen, you’ll see list of current’s admin. To create new admin, click on Create Admin. 
Login to Direct Admin console and click on your target domain name. Under Email Management section, click on Spamassassin Setup as shown below: As highlighted in the screenshot below, you may adjust the Spam Assassin threshold. The lower the threshold, the higher the chances of your spam emails getting blocked but this can tag potentially legitimate emails too. For higher threshold, it's vFew readersI'm getting a safe_mode restriction error
We have recently enabled PHP safe_mode to enhance security on the server and so you need to request individual accounts to have safe_mode turned off if you need to run certain scripts.Few readersSolution for “PCRE is not compiled with PCRE_UTF8 support”
NOTE: You may try the following instructions if you encounter the error message below: || PCRE is not compiled with PCRE_UTF8 support If this error appears after updating PHP, you may rebuild pcre through custombuild: cd /usr/local/DirectAdmin/custombuild ./build pcre Restart Apache service httpd restartFew readersHow to Check Email Usage in Direct Admin
Login to Direct Admin and click on your target domain. Click on Email Accounts. Click on Email Usage. You can view the usage based on Daily and Monthly as highlighted below:Few readersWhy Wordpress Can't Upload Attachment/Images?
Please contact us with your domain which having the problem. This problem is caused by the safe_mode on by default in DirectAdmin. We have mentioned about this issue before as described in our previous announcement here.Few readersHow to open phpMyAdmin on Direct Admin?
|| NOTE: You need to create a MySQL database and username first before performing the following steps. Please refer this link : Tutorial to Create MYSQL Database Login to Direct Admin control panel then go to Extra Features and click phpMyAdmin You may see a phpMyAdmin page then doublFew readersHow to Manage DNS Zone Inside Direct Admin
1 - Login to your Direct Admin account e.g. http://yourdomain.com:2222 2- Under Account Manager, click on DNS Management DNS Management allow user to create and delete A, CNAME and MX records in a domain's zone file. 3- Click on either ADD RECORD button to add new record or click pencil icon to edit existing record 
Login to Direct Admin control panel and go to Advanced Features. Click Security Questions Click Add New Security Questions Choose any question from drop down menu or you can also custom the question 