How to link the domain to hosting, and make the settings correctly
By Admin
If you purchased or intend to purchase the domain for your website from “X” company, while you purchased the hosting from “Y” company, it is important that you link the domain to the hosting so that your site is launched to users. This article is completely suitable for you and will answer all the questions that arise in your mind, so that the linking process is completed correctly and your site is ready to work.
Article contents: 1- Adding the domain to the domain list
Inside the hosting control panel 2- Adding the hosting company’s Name servers to the domain manager’s account Frequently asked questions The importance of linking the domain to the hosting Certainly, the domain is just a link that refers to the space that contains the files, data, and content of your entire site, while hosting your site without linking it to a domain, its content cannot be accessed quickly and securely. Therefore, the step of linking the domain to the hosting is an important step in order for the user to be able to access your site hosted on one of the hosting companies in a safe and fast manner. Note: You certainly will not need to take the steps to link the domain to the hosting if the domain and hosting are on the same service provider, and we will explain that throughout the article. However, if the domain is from one company and the hosting is from another company, it is important that you direct the domain to the server.
Steps to link the domain to hosting. Suppose you purchased the hosting from Namecheap, while you purchased the domain from Hostinger. You will perform the linking process as follows: 1- Add the domain to the list of domains within the hosting control panel. The first step in order for us to add the domain to the list of domains in your account at the hosting company, which is Namecheap in this case, is to enter the Cpanel control panel, where you can enter cPanel through the login data that you obtained after registering, as follows: Or you can log in to your account at the company. “Namecheap” hosting, then look for the products page, which you will find under the heading “product list”, and then click on “Hosting”. After clicking on Hosting, your hosting data will appear to you, and next to it is the “Go to Cpanel” button. Click on it to be directed to the hosting control panel. After entering directly into the hosting control panel, you will find an option in the control panel list called “Addon domains” or domains or domains. Click on it and the page for adding or linking a domain will open for you. With your hosting, it is as follows: New Domain Name: It is the link or domain that you want to link to the hosting, such as www.example.com Subdomain: This field is if you own a subdomain from the main domain, such as: blog.example.com and you want to link it to the hosting. Document Root: This is if you want the domain to be linked to a path or an internal folder in your hosting, for example example.com/blog, this means that the domain will be directed to the blog folder inside your site, but if you want it to be linked to the main path within the file manager, leave it empty. FTP account: This field helps you create an FTP account that allows you to connect to the hosting file manager using those files.
2- Adding the hosting company’s name servers to the domain manager’s account, as you can see, is a reciprocal process, just as we logged into our account at the hosting company namecheap and added the domain there. We are now doing the opposite, which is adding the hosting data, which is called name servers, to our account at the domain company Hostinger in this case.
The first step: Obtain the hosting servers data
For domains or so-called name servers data: You can obtain name servers data in different ways, the simplest of which is through the email that you received from the hosting company directly after purchasing the hosting from them, where you will find the name servers data sent to you as follows: As you can notice, this is the name servers data that we need in order to add it to our domain account, and it is arranged as follows: The first is Nameserver 1: and its value is: dns1.namecheaphosting.com The second is Nameserver 2: and its value is: dns2.namecheaphosting.com If you do not access the email that contains the NameServers values, you can find the nameservers of the hosting company you deal with with ease, as they are fixed data and you can obtain them online, where you log into Google and type “Hosting Company nameservers list” while replacing Hosting company with the name of the company you are dealing with. You can also write to the technical support of the hosting company and request nameservers data from them.
The second step: Enter the name servers data into
Your domain manager account at the domain company Hostinger. First, you must log into your account with the domain company that you purchased from, and search for the “Domain list” tab. To show you the data for your domain www.example.com, for example, next to the manage button: Click on the “Manage” button to be directed to the page for managing your domain information and data. On this page, you look for the option to modify the DNS or Name server, such as the one shown before you in the following image: Click on DNS / Nameservers. Click on Change nameservers. Enter the DNS data that we previously explained how to obtain.
After entering the data in the previous way, click “Save”. If the domain and hosting are located on the same service provider (the hosting company), if the domain and hosting are located on the same company, for example you purchased the domain and hosting from Namecheap, in this case you will not need to do the steps that we explained above, but just make sure that the Nameservers value indicates the name of the company hosting the site. In this case, the Namecheap web host DNS appears, which is the value for Namecheap. Frequently asked questions: How long does the process of linking a domain to hosting take?
After performing the process of linking the domain to the hosting, as we explained above, usually after an hour or a few hours, perhaps up to 24 hours, in order for the linking process to be completed 100% correctly, and the domain name begins to indicate the content of your site on the hosting. How do I ensure that the connection process is completed correctly? After you perform the linking process as we explained above, open the command box from your computer, by pressing Start and typing CMD.
You will notice that the black screen of the command box appears. Type the Nslookup command in it and then press enter. After that, also type the following command: set type=ns, taking into account the spaces exactly as written, then press enter again. After that, type your domain name and press enter: As you can see in the picture, after applying the steps, the nameservers will appear for you if the process of linking the domain to the hosting was completed correctly.
Is it necessary to purchase an SSL certificate for the domain? It is certainly important that your site is signed with the famous SSL certificate, which makes your site’s communications with visitors safe and confidential, which enhances the security of your site. You can view a detailed guide regarding the SSL certificate and its benefits for your site.
How do I get a .com domain? At the cheapest possible price? You can get a domain and a .com domain.
At the cheapest possible price, which is only 1 US dollar, from Ionos, a subsidiary of United Internet, which provides global domain services. In the end, we hope that the explanation is complete and adequate for how to connect a domain to hosting properly. If you have any additional inquiries or questions, do not hesitate to write them below the article in the comments box. We advise you to ensure that the linking process was completed correctly through the method we explained above, and if the linking process is delayed for more than 24 hours, you can contact the technical support of the hosting company to ensure that there is no problem regarding linking the domain to the hosting.
DROPIDEA
We hope this article has added real value to you. At DROPIDEA, we always strive to deliver high-quality content that helps you grow and evolve in the digital space. Follow us for more useful articles and guides.
Admin
DROPIDEA
Latest Articles
“Nofollow” tag: What it is, how and where it is used, “Infographics”
ASUS ROG Flow Z13 (2025) available: Everything you could dream of in a gaming tablet.
The best 5 sites to download safe computer programs without malware!
Create a forum on WordPress using the bbPress plugin step by step