Skip to main content

Getting started with DirectAdmin

In this guide we will show how you can start working with DirectAdmin panel

Updated this week

DirectAdmin is a graphical web-based web hosting control panel designed to make administration of websites easier. DirectAdmin is often called DA for short.
​
More information can be found on the official web page.

0. Preliminary requirements

Make sure the DirectAdmin installed on your server first. Follow our guide to install it in a few clicks.

Once the installation is completed, make sure to save data provided in the installation command output (admin username, password, email, etc.)

1. Login

DirectAdmin uses 2222 port, so to connect to control panel on your internet browser enter:

http://ip_of_your_server:2222/

Use the DirectAdmin login details provided in the installation command output (from the 1 step).

2. Adding New User

In the left sidebar click "Manage User Packages":

Click "Add Package":

Enter the resource limits you want to set for this custom package and save changes:

Then In the left sidebar, click "Admin" and in the "Account Manager" click "Add New User":

Enter new user details and click "Submit".

Please note that you will need a domain that is pointed to your server.

If everything is fine, you will see the notification that user created successfully:

The new user will appear in the "My Users" section.

3. Adding Email Account

First of all log in as the user to which you want to create an email account.

There are 2 options how you can do this:

1. In the left sidebar click "My Users". Then click button to log in as the second user:

2. You can log out of admin and connect with second user credentials (use the same address http://ip_of_your_server:2222/).

Then, in the left sidebar select "E-mail Accounts":

You will see the default email account. You can create a new by clicking "Create Account" in the upper right corner:

Enter your new email account details and click "Create Account":

The new email will appear in the list in "E-mail Accounts" section.

4. Adding New FTP user

FTP users, as well as email account, can be added after logged in as a user.

Also, make sure that you increased the FTP user limit to more than 1 when creating the user in step 3. Otherwise, you will not be able to add more FTP users.

In order to add an FTP user in the left sidebar click "Account Manager" and then "FTP Management":

Next, click "Create FTP Account":

Enter the data and click "Create":

Once new user created, you will see it in the list in "FTP Management" section.

5. Adding Database

While you are logged in as user, in the left sidebar click "Account Manager" and then "Databases"

In the "Create Database" enter new database name. You can choose between a simple database creation form and an advanced one. The advanced form gives you more control, letting you create a database with a separate username and set the password manually.

Once database is created, system will show you connections details. Make sure to save them.

Once you reload the page, new database will appear in the list.

6. Website's Suspension/Removal

In order to suspend or remove the website, on user-level, in the left sidebar click "Account Manager" and then "Domain Setup":

Select the desired website and click "Suspend/Unsuspend" or "Delete".


7. Password reset

In order to change Direct Admin control panel "admin" user password you need to connect to server via SSH as root and run the following command:

passwd: all authentication tokens updated successfully

You will be asked to enter and re-type the new password. If everything is done you should see similar results:

passwd: password updated successfully

Always use a long, secure password that includes a mix of symbols, numbers, and both uppercase and lowercase letters.

Did this answer your question?