Home WebServer PanelDirectAdmin How to change DirectAdmin download server

How to change DirectAdmin download server

by Thạch Phạm
Published: Last Updated on

In case your DirectAdmin installations or related software updates download very slowly or frequently lose connections. Then in this article, AZDIGI will guide you to change the DirectAdmin download server with other alternative servers.

I. Overview

By default, when installing DirectAdmin, the download server is always files.directadmin.com at the initial time. And the thing to note here is the server files.directadmin.com located in the US. It will not be possible to give the fastest download speed when you need to install DirectAdmin updates in Vietnam. So how to change the DirectAdmin download server? Please continue reading the article.

II. How to change DirectAdmin download server

To change the DirectAdmin download server we follow the following 2 steps.

Step 1: SSH into your DirectAdmin system

To change the DirectAdmin download server, we first need to SSH or access your VPS/server as root. If you do not know how to SSH into your VPS/Server, you can refer to the following tutorial:

After SSH successfully SSH, we continue with step 2 to start the process of changing the DirectAdmin download server.

Step 2: Execute commands to change DirectAdmin download server

These commands perform relatively simply and fast as follows:

AZDIGI Tutorial
cd /usr/local/directadmin/custombuild
./build set_fastest
./build update

Explanation of the above commands:

  • Command 1: Move into custombuild folder.
  • Command 2: Change the DirectAdmin download server to the server for the best speed.
  • Command 3: Update custombuild script.

Below are the images when I manipulate the above commands.

Screen Shot 2020 09 16 at 10.05.56 AM
Command 2: Update custombuild script.
Screen Shot 2020 09 16 at 10.07.01 AM
Command 3: Change the DirectAdmin download server to the server for the best speed.

As you can see in the picture above, after checking my VPS, I see the download speed of the serverfile-sg.directadmin.com is the server with the fastest download speed. So my VPS self-regulates downloadserver about this server.

In addition, if your current download server is failing, you can completely change it manually by editing the options.conf file by the following command:

AZDIGI Tutorial
cd /usr/local/directadmin/custombuild
vi options.conf

You just need to change the download server URL path at the downloadserver: line, then save it.

change DirectAdmin download server

Here is a list of DirectAdmin download server URLs and locations that you can refer to:

Server URLServer location
files1.directadmin.comUSA main server
files2.directadmin.comthe USA
files3.directadmin.comthe USA
files5.directadmin.comBruges, Belgium
files9.directadmin.comthe USA
files12.directadmin.comHong Kong, China

In the list above, there are two DirectAdmin servers in Vietnam and one server in Singapore, so you should consider using these three servers for the best speed.

III. Summary

Through this article, we have learned how to change the DirectAdmin download server, as well as the list of popular DirectAdmin download servers, based on which we implant the nearest server image to achieve the speed highest. Hope the article is useful to you.

Wishing you success.

See more useful articles about DirectAdmin at the following link:

If you need assistance, you can contact support in the ways below:

Đánh giá

Tham gia nhóm hỗ trợ Server - Hosting

Tham gia nhóm Hỗ trợ Server - Hosting & WordPress để cùng nhau hỏi đáp và hỗ trợ các vấn đề về WordPress, tối ưu máy chủ/server.

Tham gia ngay

Bài viết cùng chuyên mục

AZDIGI – Không chỉ là đơn vị hàng đầu trong lĩnh vực Web Hosting và Máy chủ, chúng tôi mong muốn mang lại những kiến thức bổ ích nhất và luôn cập nhật thường xuyên cho cộng đồng người đam mê thiết kế website, công nghệ,…

Vui lòng không sao chép nội dung nếu chưa xin phép. Designed and Developed by PenciDesign