Archives

Create/Restore a backup of your account in DirectAdmin

This KB article is for DirectAdmin for shared hosting (end-users).

You should backup your site from time to time. Also, it’s a good idea to download these backup copies to your computer.

DirectAdmin Backup/Restore Account
DirectAdmin Backup/Restore Account Window

 

To backup your account in DirectAdmin:

  1. Login to DirectAdmin
  2. Look for Create/Restore Backups option
  3. Select the things you want to include in the backup (like email accounts, email data etc)
  4. Click the Create Backup button. You will see a message Backup creation added to queue. You will receive a message via the DirectAdmin Message System when the backup creation is done with the subject Your backups are now ready
  5. You will also see the backup archive in the /backups/ directory of your domain. (example: backup-Jun-18-2017-1.tar.gz)

To restore a backup archive of your account in DirectAdmin:

  1. Login to DirectAdmin
  2. Look for Create/Restore Backups option
  3. Scroll down to the Select a File to Restore section
  4. Select a backup archive from the drop-down list.
  5. Click the Select Restore Options  button
  6. Select the things you want to restore (like email accounts, email data etc)
  7. Click the Restore Selected Items button. When done you will see a confirmation message: Restore Complete.

On the Backup/Restore Backups page there is also a link Click here for a list of your current backups. Click on it to go directly to the file manager-> /backups/directory.

Items that are available to backup/restore:

Website Data
Domains Directory: Backs up all user files for all domains
Subdomain Lists: Backs up the list of subdomains for each domain
E-Mail
E-Mail Accounts List for all domains (names and passwords)
E-Mail Data: Includes the messages from the Inbox, IMAP Folders, and webmail data.
E-Mail Settings: Includes the filters and the catchall address.
Forwarders: Includes all forwarding addresses.
Autoresponders: Includes all autoresponders and messages.
Vacation Messages: Includes all vacation messages and times.
Mailing Lists: Includes the list, digest-list and archives.
Ftp
Ftp Accounts
Ftp Settings
Databases
Database Settings: Backs up all DB Users and DB Settings
Database Data: If ‘Databases’ is selected, include the actual DB data

The movie tutorial for this post:

Share this post:

How to create custom error pages – DirectAdmin

This KB article is for DirectAdmin for shared hosting (end-users).

 

Error pages are HTML pages that are displayed to your site visitors on special occasions. For example if the visitor tries to access a page that doesn’t exist, the server can load a custom made 404 error page.

DirectAdmin Custom Error Pages
DirectAdmin Custom Error Pages Window

To set up a custom error page in DirectAdmin:

  1. Log into your DirectAdmin panel
  2. Locate and click the Custom Error Pages link 
  3. Here you can edit four error types:
    – 401 Unauthorized
    – 403 Forbidden
    – 404 Not Found
    – 500 Internal Server Error
  4. Let’s say you want to edit the 404 file. Click 404.shtml link.
  5. A simple HTML editor will open. Make the desired changes. At the end save the page by clicking the Save As button. Do not change the file name.
  6. Test it by accessing a file that doesn’t exist on your server, like domain.com/test1234.html
The video tutorial for this post:
Share this post:

How to filter emails in DirectAdmin

This KB article is for DirectAdmin for shared hosting (end-users).

With this DirectAdmin tool you can filter emails. Probably you will want to filter unwanted SPAM emails. This tool will help you configure email filters.

DirectAdmin Email Filters
DirectAdmin Email Filters Window

How to configure an email filter in DirectAdmin:

  1. You are connected to your account
  2. Look for SPAM Filters
  3. You can configure some blocks here:
    – Block a specific e-mail address: ____ Click the Block button to apply.
    – Block mail from an entire domain: ____ Click the Block button to apply.
    – Block all e-mail containing the word: ____ Click the Block button to apply.
    – Block all e-mail larger than: ____ KB Click the Block button to apply.
  4. There is also an Adult Filter option. Click the Enable button to enable it.
  5. Choose an action if the filter matches one of your conditions: drop email or send to spambox. Click the Save button to confirm.
The video tutorial for this KB post:
Share this post:

Manage MySQL databases with DirectAdmin

This KB article is for DirectAdmin for shared hosting (end-users).

Sooner or later, you will need databases for your site. You can configure MySQL databases and users very easily from the DirectAdmin interface.

DirectAdmin MySQL Management
DirectAdmin MySQL Management Window

To create a new database and a new user for it in DIrectAdmin:

  1. Log into DirectAdmin
  2. Navigate to MYSQL Management
  3. Click the Create new Database link
  4. Enter the database name, the database user you want to add to it, and the password for the user.
    Notice that database names and user names will begin with the DirectAdmin username followed by an underscore, like directadminusername_dbname, directadminusername_dbusername
  5. Click the Create button. The database and user will be created, you will see a confirmation message: Database Created

With this tool you can also Repair, Check and Optimize databases. Just select the database(s) and click the button for your intended action.

You can use this tool for both MySQL and MariaDB servers.

Youtube tutorial for this post:

Share this post:

Create email forwarders in DirectAdmin

This KB article is for DirectAdmin for shared hosting (end-users).

A forwarder will forward email messages received by an account to another account. The destination email can be a local email or a remote email.

DirectAdmin Forwarders
DirectAdmin Forwarders Window

 

To create a forwarder in DirectAdmin do:

  1. Login to DirectAdmin
  2. Go to Forwarders
  3. Click the Create new E-Mail Forwarder link
  4. Enter the details. First, enter the Forwarder Name. This is the email username you want to forward.

    You can also specify multiple entries in the “Forwarder Name” field: fred,bob This will simply add multiple forwarders.

  5. Enter the Destination Email. 

    Note, you can specify multiple email addresses in the “Destination Email” field if you wish: email1@domain.com,email2@domain.com

  6. Click the Create button. The new forwarder(s) will be created.

The video tutorial for this post:

Share this post:
Page 1 of 7
1 2 3 7