How to connect C-Panel host to download host

Imagine that you are the manager of a large website, and your website activity is in the field of downloading files, and you decide to put many files for download within your website. The important thing to know is that most major download sites have all their files. They do not maintain a host inside download sites. First, buy a host to maintain their website’s main site and content management system, then buy new download hosts and those download hosts to the main subdomain host. They connect their website. For example, if the address of a download site is, they create a subdomain called between the hosts of their main site and then connect the dl1 subdomain to the host through advanced records. The download they purchased and when their download capacity is complete, they create a subdomain called and connect the subdomain dl2 to another download host and continue this process.

اما But before we start, we will explain the procedure of this tutorial to you, see in this tutorial, our main website is C-Panel, and the download host that we bought for our website is Direct Admin. Now we have decided to have a C-Panel web subdomain. Connect our site to a direct admin download host, but note that we do not mean to create a normal subdomain inside the C-panel. We mean the subdomain downloaded to the host by A Record inside the C-panel. We connect. ❌

Now, if we are going to connect these download hosts to the subdomain, we have two options:

  1. The first (simpler) method is to put the name of the main domain of our download host from the beginning and connect this name to the main host panel of our website, and from then on, the files we want to download. path public_html Upload our download
  2. The second method is to put the name of the main domain of the backup or download as ir, and then go inside our download to create a subdomain called dl1 and connect this subdomain to the main host panel of your website, and from then on the file. the ones we want to download to the subdomain host folder of Upload

❌ Those who want a subdomain to the download host can use the first technique and upload their content directly to the public_html download.

❌ Those who want to multiple subdomains to their download host and store different information on the download host should use the second method to store the content of each subdomain in a separate directory.

We suggest the first method. Note that the main host of our website that we have to create inside the pointer record is the host that the DNS of our main domain is pointing to, not the download that we bought to maintain our file. Please continue this practical tutorial with Be with us.

Connecting the download host to the C-panel host (first method)

As mentioned before, in the first method, which is the simplest solution, the following steps should be implemented step by step:

  1. Buy download hosting with the main domain of the site
  2. Refer to the main C Panel host and define two A Records
  3. Return to the host Download and rename the host domain

. In this way, your information is stored directly in the public_html download.

After ordering the download host with your main domain name, you must define two A records in your C-Panel host that point to the download . To start working and connecting the download and host C panel, follow the steps below through the first method.

1- Buy download hosting with the main domain of the site

A very important point that must be observed before connecting the download to the main host: The main domain name connected to our download hst must be the same as the main domain name of our website. For example, if the domain name is, we also order the download with the domain. For this case, read the following tutorial and go to the second step after registering the order.

Step-by-step instruction on buying hosting from Fa host

2- Making A Record to connect the download host to C Panel

Now, by learning how to enter C -Panel, we enter the C-Panel of our website. When we enter C-Panel, from the right-hand panel, i.e., GENERAL INFORMATION, from the Primary Domain section, we notice that the main domain name of our C-Panel host is (The address of the main domain of your site), Yes, and as you can see, it is exactly like that, now to connect the download host that we set up in the previous step to the host of our main site, that is, this C-panel host.

Connect the main host to the download host

We will go down a bit to get to the domain section. We want to connect our download to this host via a record. Now we click on the zone editor tool to enter it. With the help of the following tutorial, define two A Records for your desired subdomain that you intend to place on the download . For example, consider and define two A records for it.

Learn how to set domain DNS records in C Panel

3- Change the domain in Direct Admin hosting

Next, after defining the records, we must return to the download again and change the original name of our download domain from the DOMAIN SETUP section. (Because when we bought the download  we ordered it with the site’s main domain name.) To complete this step, follow the tutorial below.

Change the main domain of Direct Admin hosts.

Connecting C-Panel subdomain host to download (second method)

In this way, we create a subdomain in our download host. Then we move two A Records from this main host to this subdomain. We determine that we are using the subdomain. In this way, the information is stored in sub-domain folders on the download host.

  1. Buy download hosting
  2. Define subdomain in download hosting
  3. Definition of two A Records in C-panel hosting

❌ When uploading a file to the download, our information is stored in the subdomain folder. This is the main difference between the two methods.

1- Download the hosting order

This step is the same as buying a download with the main domain in the previous method. You provide your download with the main domain of your site. For example, in this example, the main domain’s name connected to our C-panel host is Now when we want to buy download hosting, I have to tell the hosting company to put the name of our main download Of course, when buying download hosting, we must also observe this and order download hosting with the name of the site’s main domain.

2- Build a subdomain in the download host

The only difference between the two methods of connecting download hosting to the C-panel host is that we do not define a subdomain in the first method, but in the second method, we define a subdomain. For this purpose, first, we enter the download that we bought. This host, as you can see, has a direct admin control panel, really note that in this tutorial, the domain we want to work with is, and as you can see, the main domain Connected to Direct Admin Hosting is written here in the right-side panel, so we note that the domain name connected to our download is the same as the main domain name of our website that we want to connect its subdomain to the download, from your account Direct Admin Click on Subdomain Management. Connect the subdomain to the download hostTo enter the sub-domain page in Direct Admin according to the image, in this page from the Add Sub-Domain section, we can create our sub-domain, so inside, we write dl1. As you can see, there is a dot at the end of this field, and then The main domain name of these hosts is And to create this subdomain, click on the create button below.

Define subdomain in C Panel

As you can see, our subdomain with the address was added here, so it was our download that we did Karasho.

Define subdomain in C Panel

3- Creating a record in the C-panel host

Now it’s time to define the record for connecting the domain and the host. Exactly what we did in the second step of the previous method of making A Record to connect the download to the C-panel should be done in this way. For more help, you can read how to define a record in the following article so that the download can be connected to your original C-panel host.