DirectAdmin

Install Free Let’s Encrypt SSL Certificate on Direct Admin

In this documentation explains how to install free Let’s Encrypt SSL certificate for domains on DirectAdmin. 1. Login to your DirectAdmin panel. 2. Select the domain you wish to install SSL on DirectAdmin. 3. Enable SSL for the domain.  Enable SSL for the domain from Domain setup.                      Home >> Account Manager >> Domain Setup Click on the domain name where SSL to be installed and enable Secure SSL Now we can install SSL for the domain. 4. Under Account Manager, go to SSL Certificates. 5. Now, click on the option Get automatic certificate from ACME Provider 6. Select the domains and subdomains you wish to install SSL and click on Save. **You need to make sure that all the domains and subdomains you wish to install are pointing to server IP 7. You will get following message once the SSL is successfully installed.
Read more

How to Set Forwarder in DirectAdmin Webmail.

  You have create an email account and now you need to setup Forwarder into email account? DirectAdmin Webmail interface will help you to easily set up email accounts. To set up an email forwarder in Direct Admin Webmail,  follow the steps: 1. Login to Webmail using your email login and password. 2. Choose Setting from the top menu bar. 3. Click on the Filter TAB. 4. If you don’t have any pre-existing filters, click on the + at the bottom left corner of the page. 5. In the New filter window on the right side of the screen, choose a name for your filter. 6. Under Filter Rules select All messages. 7. Under Filter Actions, in the left drop down list, select Copy message to and Select Inbox. 8. Click on the + sign to add another action. 9. Under Filter Rules, select All messages. 10. Under Filter Actions, in the left drop down list, select Redirect message to. 11. Type in the email address that you would like to forward your email to, and Click save.
Read more

Autodiscover Information For Mail Clients in DirectAdmin Copy

Autodiscover is a system to figure out which settings to use for the POP/IMAP/SMTP settings, that allows the mail client users to configure their email address automatically. We can set up this in DirectAdmin with basic requirement: subdomain and an SRV record. You can add the SRV record on which domain you wish to use these settings for. If you have any global SSL certificate in exim/dovecot for your hostname, it will be better to make sure the clients use the correct value. Hence they did not get SSL certificate errors. Let’s suspect that you are connecting your clients to server.hostname.com with clientdomain.com for both IMAP and SMTP. Then first of all need to create a subdomain called ” autodiscover.hostname.com ” to store the  XML. 1) Need to setup SRV record on the mentioned client domains “clientdomain.com” DNS zone: _autodiscover._tcp.clientdomain.com. 3600 IN SRV 10 10 443 autodiscover.hostname.com. 2) Next, need to create the subdomain autodiscover.hostname.com in Directadmin, then can we add the follwing code into a file called autodiscover.php: <?php //get raw POST data so we can extract the email address $data = file_get_contents(“php://input”); preg_match(“/\<EMailAddress\>(.*?)\<\/EMailAddress\>/”, $data, $matches);   //set Content-Type header(“Content-Type: application/xml”); echo ‘<?xml version=”1.0″ encoding=”utf-8″ ?>’; ?>   <Autodiscover xmlns=”http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006″> <Response xmlns=”http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a”> <Account> <AccountType>email</AccountType> <Action>settings</Action> <Protocol> <Type>IMAP</Type> <Server>server.hostname.com</Server> <Port>993</Port> <DomainRequired>off</DomainRequired> <LoginName><?php echo $matches[1]; ?></LoginName> <SPA>off</SPA> <SSL>on</SSL> <AuthRequired>on</AuthRequired> </Protocol> <Protocol> <Type>POP3</Type> <Server>server.hostname.com</Server> <Port>995</Port> <DomainRequired>off</DomainRequired> <LoginName><?php echo $matches[1]; ?></LoginName> <SPA>off</SPA> <SSL>on</SSL> <AuthRequired>on</AuthRequired> </Protocol> <Protocol> <Type>SMTP</Type> <Server>server.hostname.com</Server> <Port>587</Port> <DomainRequired>off</DomainRequired> <LoginName><?php echo $matches[1]; ?></LoginName> <SPA>off</SPA> <Encryption>TLS</Encryption> <AuthRequired>on</AuthRequired> <UsePOPAuth>off</UsePOPAuth> <SMTPLast>off</SMTPLast> </Protocol> </Account> </Response> </Autodiscover>  SRV record always using port 443 for autodiscover.hostname.com, So make sure you have got a valid certificate setup for this subdomain. You can check this by entering the domain on https://www.sslshopper.com/ssl-checker.html or can try to access it on a browser with https://autodiscover.hostname.com 3) Finally, we will need to set up a .htaccess hidden file so that we can trace any request to the needed subdomain like autodiscover.hostname.com results in the autodiscover.php being called. We need to add the following lines to the .htaccess file under the subdomain DocumentRoot. RewriteEngine On RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ – [NC,L] RewriteRule ^.*$ autodiscover.php [NC,L]   If you need any further help, please do reach our support department.
Read more

DirectAdmin Features & Advantages Vs Cpanel

DirectAdmin is a reliable and powerful web-based graphical control panel designed for managing web hosting tasks. Some of the features include managing domains and mail accounts, a simple file manager, SSL certificate installer, use Perl modules, monitor server information, configure cron jobs, Mime types, Apache handlers and more with the easy to use DirectAdmin control panel. The web hosting environment is constantly evolving but DirectAdmin addresses the most complex solutions of today. Global trends and customer feature requirements are constantly analysed and ideas are implemented. DirectAdmin takes pride in stability, security, and rapid implementation of new technologies. DirectAdmin has been in continuous development since 2003. DirectAdmin provides three levels of access: administrator level, resource level, and user level. Typically, web hosting customers have access to User Features only, reseller customers have access to Reseller Features and User Features, and administrators have access to all three levels. DirectAdmin for administrators Create / edit administrators and Vendors – Administrators can create, modify, and delete distributors (Resellers) or users. Reseller packages – Administrators can create predefined account packages. When creating accounts, the administrator simply selects the package rather than manually setting up each account. Show all users – This feature allows administrators to quickly view each account on the system and sort this list in different ways. DNS administration – Allows administrators to create, modify, or delete DNS records on a server. IP manager – This is where administrators store user and customer IP addresses. Mail management – A tool to view mail alerts and their information. It includes tools to manage this information. System / service information – Administrators can view, block, start and restart services such as mail and ftp from this list. Overall performance statistics – This gives the administrator an accurate overview of the system’s usage. DNS collection – DirectAdmin communicates with other DirectAdmin software and automatically transfers DNS data between them. You also have the option to check another server for the domain to avoid allowing duplicate domains on the DA network. Directadmin spam combat tools – DirectAdmin provides a variety of anti-spam tools such as RSpamd and SpamAssassin. Licence renewal – Administrators can view the license status from this list and download the latest securities and DirectAdmin software updates. System administrator backup – Generates and restores all users and clients. Attachments can be stored locally or sent via FTP. Nomination events allow you to hold daily, weekly, or monthly referrals. DirectAdmin for resellers Create / list / edit accounts – Quickly and easily create, list, edit, and delete accounts. User account – Customers can use this feature to create a defined account. When creating an account, customers simply select a collection rather than manually configure each account feature. Buyer statistics – Buyers get all views. Customers can also share the data with the user to quickly assess the whole situation. Send messages to all users – Customers can use DirectAdmins integrated ticket support system to quickly send messages to all customers. Import / manage projects – This menu feature allows customers to import and use new projects with the click of a button. Request IP – Customers can use this listing option to assign an IP address to their customers. System / service information – This section gives customers immediate access to the providers status and system information. Name tags – Customers can create unique name tags for their customers from this list. DirectAdmin for hosting users (end users) Email management – Users can create POP / IMAP accounts, capture email addresses, senders, mailing lists, autoresponders and web email. Blocks can block users from emailing by region, keyword and size. SpamAssassin and rspamd are user-configured with hard filters available. FTP management – Users can create FTP accounts and set directory permissions for each account. Anonymous FTP is supported. DNS menu – Users can add and remove records, change MX settings, and do anything related to DNS. Statistics menu – Users have the statistics available to their accounts. Success options with a Webalizer are also included. Subdomain menu – Allows users to list, create, delete, and remove subdomain statistics. File manager – FTP is very flexible and fast. It contains all the features you need to build and manage your website. MySQL database – Users can create, edit and delete MySQL databases from this list. Website backup – This powerful tool allows users to back up and restore what they need. For example, your account data. Error pages – Users can create messages with custom versions with 401, 403, 404, and 500 error codes. Password protection – Users can Protect folders with their username and password. PHP publisher – Allows the client to select the version of PHP that links to the php extension. Advanced tools – Users can enter SSL certificates, view sender information and enter Perl components, configure cron jobs, MIME types, Apache controllers, enable database scripts and local markers. Like the payment control panel and license application, DirectAdmin is one of the best options you will find. You need a paid control panel (which most hosting companies do) because a free control panel does not provide the security and features you need for most purposes. This is one of the easiest control panels to use with access to email, administration options, file managers and much more. When you log in, everything is displayed on a single screen. It’s easy to find what you’re looking for in your administrative area. DirectAdmin general features Integrated ticket support system – With DirectAdmins integrated ticket support system, you can provide the best customer services without any issues, you can also configure DirectAdmin with email support requests so you don’t lose them. If you need support assistance in any other way, please turn off this feature. Authentication – All DirectAdmin accounts can request two-Factor authentication using the smartphone apps long-term code. Plugin system – The DirectAdmin system can be easily delayed. Plugins support the Administrator, Client and User levels. Live update – Administrators can click the License / Update button to see the status of their licenses and status. No need to manually remove, uninstall and install, DirectAdmin automatically performs updates. All customisation – DirectAdmin is designed to fit your business. You can modify all aspects
Read more

How to create email accounts in DirectAdmin

You have set up a website and now you need to create an email account? DirectAdmin interface will help you to easily set up email accounts. To create an email account in DirectAdmin, follow the steps: 1. Connect to DirectAdmin 2. Navigate to E-mail Manager >> E-Mail Accounts 3. Click the CREATE ACCOUNT button 4. Choose the username, password, quota and send limit for the new email account. Click the CREATE ACCOUNT button. The new account will be created and you will get a confirmation message: Account created. and a short log: Test it by accessing the account via a POP3/IMAP client or via DirectAdmin >> Extra Features >> Webmail: Roundcube.
Read more

How to Blacklist or Whitelist Emails in DirectAdmin using SpamAssassin

1. Login to your DirectAdmin and click on Spamassassin Setup. 2. To set up the Email Blacklist/Whitelist, scroll down to the very bottom and you will see the following sections. After adding the email addresses to the list, click on Save to finalise the settings. 3. In “Email Blacklist”, key in the email address you want to block. 4. In “Email Whitelist”, key in the email address you want to allow even its blocked by our RBL. 5. Click on “Save” to save your configuration.
Read more

How to use SPAM filter in Directadmin

Besides Spamassassin, Directadmin provides another solution for Spam filtering purposes, whereby its far more easy to understand and to setup. To set up a simple yet powerful spam filter in Directadmin, kindly follow steps below: 1. Login to Directadmin, click on “SPAM Filter” under the “Email management” tab.   2. A simple and clear interface will be shown to assist you to block the SPAM with a specific keyword. For example, you can set up a block a specific email address, or a mail with the blocked keyword in the mail subject, or even block based on mail size. For a more advance version of the spam filter, please use Spamassassin whereby it provides more advance settings to be tuned with.  
Read more

cPanel vs DirectAdmin

cPanel vs DirectAdmin Features cPanel DirectAdmin  PHP Version Selector Yes Yes  LetsEncrypt Free Yes Yes  Reseller Hosting Yes Yes  Shared Hosting Yes Yes  FTP Yes Yes  File Manager Yes Yes  WebMail (Roundcube) Yes Yes  Database Yes Yes  PHPMyAdmin Yes Yes  Softaculous Yes Yes  CloudLinux Yes Yes  Site Backup Yes Yes  Overselling (Reseller) Yes Yes  2Factor Authentication (Shared & Reseller) Yes Yes  Whitelabel (Shared & Reseller) Yes Yes  AutoSSL (Shared & Reseller) Yes Yes  Reseller accounts Yes Yes  SSH Access (limited ssh access per account) Yes Yes  PHP Modules Yes Yes Reseller Accounts Features cPanel DirectAdmin  Overselling Yes Yes  Package Creation Yes Yes  Softaculous Yes Yes  Jetbackup Yes Coming Soon  AutoSSL Yes Yes  PHP version selector Yes Yes  SSH Access Yes Yes  CloudLinux LVE (resource limitations) Yes Yes  PHP Modules Selector Yes Yes  EMail Accounts Yes Yes  SpamAssassin Yes Yes  User welcome message(Reseller) No Yes  Notification to all user(Reseller) No Yes  IP management Yes Yes  Manage backup Yes Yes  Skin manager No Yes  Customize Evolution Skin No Yes  File manager Yes Yes Shared Hosting Accounts Features cPanel DirectAdmin  Softaculous Yes Yes  Jetbackup Yes Coming Soon  AutoSSL Yes Yes  PHP version selector Yes Yes  SSH Access Yes Yes  CloudLinux LVE (resource limitations) Yes Yes  PHP Modules Selector Yes Yes  EMail Accounts Yes Yes  SpamAssassin Yes Yes  FTP management yes Yes  Vacation message No Yes  Auto Responder Yes Yes  PHPMyAdmin Yes Yes WebMail (Roundcube) Yes Yes Password protect directories Yes Yes Admin Side Features cPanel DirectAdmin Move Users Between Resellers No Yes
Read more

Directory Structure of DirectAdmin Explained

About Control Panels A web hosting control panel is a web-based interface that allows administrator to manage the websites easily, and it is also very helpful for customers to easily manage their server even without any technical knowledge. There are so many type of control panels are available, such as: 1) DirectAdmin 2) cPanel 3) Plesk 4) Webmin Directory Structure The organization of files into a hierarchy of folders is known as the directory structure. The directory structures is modeled after the hierarchical tree model. Let’s take a closer look at the DirectAdmin directory structure in detail. Apache /etc/httpd              – Apache /etc/httpd/conf/         – Configuration files are stored in this directory /etc/httpd/conf/ssl.crt/    – SSL certificates are stored here /etc/httpd/conf/ssl.key/   – SSL certificate key stored here /etc/httpd/conf/extra/    – Contains virtual hosts /var/log/httpd/          – Apache log /usr/local/etc/rc.d/httpd start/stop   – For Apache start or stop   DirectAdmin /usr/local/directadmin              – DirectAdmin Installation directory /usr/local/directadmin/scripts/        – Contains scripts /var/log/directadmin/               – DirectAdmin log /usr/local/directadmin/custombuilds   – Contains build scripts /usr/local/directadmin/data/templates  – DirectAdmin templates Mail /var/spool/virtual/ – Mail directory /etc/virtual – Email virtual /etc/exim.conf – Configuration file /var/log/exim/ – Exim log /etc/virtual/acrilicos.com – Domain specific mail settings /etc/virtual/acrilicos.com/aliases – Email aliases /etc/virtual/acrilicos.com/quota – Email quota /etc/virtual/acrilicos.com/passwd – Email password /usr/local/etc/rc.d/exim start/stop – For Exim start or stop Named(BIND) /var/named/etc/namedb/named.conf – Configuration file /var/named – BIND directory /etc/namedb/domain.db – Database files /usr/local/etc/rc.d/named start/stop – For DNS start or stop Database /usr/local/directadmin/conf/mysql.conf – MySQL password stored here /etc/my.cnf – Configuration file /usr/local/mysql/data/ – Database path /var/lib/mysql/ – MySQL log /usr/local/etc/rc.d/mysqld start/stop – MySQL start or stop FTP /etc/proftpd.conf – FTP configuration file /etc/proftpd.passwd – FTP password /etc/proftpd.vhosts.conf – FTP virtual hosts /var/log/proftpd/ – FTP log /usr/local/etc/rc.d/proftpd start/stop – FTP start or stop SSHD /etc/ssh/sshd_conf – SSHD configuration file /var/log/messages – Log   If you need any further assistance please contact our support department
Read more
Cart

No products in the cart.