Direct Admin


DirectAdmin is an easy to use yet effective web hosting control panel. With the DirectAdmin module for Hostbill you can now provide your customers with the best performance allowing them to manage all vital aspects of their hosting account directly from HostBill client portal: manage Domains, FTP, SSL certificates, setup email accounts, manage databases and much more.

Activating the module

  1. If the module is included in your HostBill edition you can download it from your client portal.
  2. If the module is not included in your HostBill edition you can purchase it from our marketplace and then download it from the client area.
  3. Once you download the module extract it in the main HostBill directory.
  4. Go to Settings → Modules → Hosting Modules, find and activate Direct Admin module.

Connecting HostBill with Direct Admin

  1. Proceed to Settings → Apps → Add new App
  2. From Applications list select Direct Admin
  3. Enter:
    • Name - Name of this connection
    • Hostname - hostname of your DirectAdmin installation
    • IP Address - IP for your DirectAdmin, use if no hostname is set
    • Choose max number of accounts - enter max number of active accounts this server approx can handle
    • Server Status Address - deprecated feature
    • Username - your DA admin/reseller username 
    • Password - your DA admin/reseller password 
    • Control Panel URL - url (protocol included) to your direct admin server for clientarea login link
    • Secure - tick if valid ssl is installed on directadmin 
    • Secret for DNS Tool - enter secret code used in DirectAdmin DNS Helper
    • Custom port - enter if other than 2222
    • Admin password - required if you plan to use Installatron with HostBill
    • Webmail - pick webmail used by Directadmin

      4. Verify entered credentials by clicking Test Connection to check if HostBill can connect
      5. Save Changes

Adding Direct Admin product

  1. In HostBill go to Settings → Products & Services, and Add new order page
  2. From Order Types select Shared Accounts
  3. Enter your orderpage name, select orderpage template. Save Changes
  4. Add new product in the new orderpage. Provide product name and setup price and then Save Changes.
  5. In product configuration section proceed to Connect with App, select Direct Admin and App server created in previous steps.

For more generic product configuration details including price, automation, emails settings refer to Product Configuration article.

Configuring Metered Billing

Direct Admin module supports metered billing feature. To configure your metered billing package in product configuration in "General" tab select "Metered" under Price. Following variables can be measured and bill automatically:

  • Badwidth

  • Disk usage

  • Domain Pointers

  • FTP Accounts

  • Databases

  • Email Forwarders

  • Mailing Lists

  • Autoresponders

  • Subdomains

  • Domains

Configuring Client Functions   

In Products & Services → Your Order Page  Your Product → Client Functions you can control what features customer will have access to in client portal, by clicking Enable/Disable next to the given option.
Use Edit button to adjust function appearance in the client portal.

For Direct Admin you can enable the following client functions dedicated to this module:

  1. Access Control Panel
  2. Access WebMail
  3. Account Usage/Info
  4. Add-on Domains
  5. Backup Management
  6. Cron Jobs
  7. Database Management
  8. Domain Aliases
  9. Domain Redirects
  10. Email Management
  11. Email Forwarding
  12. FTP Management
  13. Login to File Manager
  14. Login to phpMyAdmin
  15. SSL Certificates
  16. Sub-domain Management
  17. CloudLinux PHP Selector
  18. CloudLinux Node.js apps
  19. CloudLinux Resource usage
  20. CloudLinux Python apps
  21. SSH Keys management
  22. Custom Error pages management
  23. Installed Perl modules listing
  24. Lets encrypt support in SSL Management
  25. Apache Handlers management
  26. DNS management
  27. Domain Pointers management
  28. Logs Browser

As well as number of standard client functions, such as 

  1. Change Billing Cycle
  2. Change Label
  3. Change Ownership
  4. Edit Forms
  5. Graphs
  6. Login Details
  7. Manual Service Renew
  8. New Direct Link
  9. Related Services
  10. Service Auto Renewal