How to check the A Record of a domain

If your website is suddenly unavailable, don’t worry. One of the most common causes is having incorrect DNS records. In this tutorial, we will talk about how to check your A record and whether they are correctly pointing to your hosting provider or not. And you can get your website back in no time!

How to find the value of the A record in your hPanel

An A record is the IP address of your domain. It is used to resolve your domain name on the host server. Therefore, the browser can retrieve your database and display the content of your website every time you visit your domain. Therefore, it is important to ensure that your domain has the same IP address as the one provided by the hosting provider.

The first thing to do is to get the correct value of the A record. At , you can do this by accessing your hosting control panel. You will then see your host’s IP address in the left sidebar.

Feel free to contact him if you don’t see this in your hPanel.

Check the current value of your A record

Check the current value of your domain’s A record through the domain control panel and the computer console.

Using the hPanel

Once you have logged in to the hPanel, head over to the Domain. Then, access your domain administrator by clicking the button Manage in the domain you are going to check.

Select the tab DNS / Nameservers and the value of the A record of your DNS will be shown in the row A.

See also  The best 13 plugins to create tables in WordPress

Using the local computer console

Check whether or not the domain is resolving to the correct host IP address using the ping command from your computer’s console. This will not only check if the domain is resolving, it will also show you your current IP address (A record).

You can do this from the Windows command line, the Linux console terminal, and the MacOS terminal.

Once you have opened the terminal window, type the following command:

ping yourdomain.tld

replaces yourdomain.tld for your domain name.

This is the output on the Windows command line (cmd):

The Linux console will also show similar output:

If you’re using a MacBook, the same information will also appear:

The IP address highlighted in all of the above methods represents your domain’s IP address or current A record.

Checking if your domain is correctly pointed

Since you already know the current value of your domain’s A record, you can compare it with the one required by the hosting company. The value of the IP address of the A record of your domain must be the same as that of the IP address of your hosting.

If they are different, you must replace the current value of the A record with the one provided by the host. In your domain manager’s hPanel, select DNS / Nameservers and edit the value of the IP address of your domain in the row A.

Once updated, your website will be available again.

If your hosting provider specifically asks you to point your domain to certain nameservers, you should check if your domain’s nameservers are configured correctly using your local computer’s console or a search website.

See also  URI vs URL: Differences and when to use them

conclusion

As you can see, an A record is simply the IP address of your domain. It should be the same as the IP address of your host.

If your domain is not correctly pointed, you must edit the current value of the A record. If it still doesn’t work, check if your domain name nameservers are configured correctly.

Gustavo is passionate about creating websites. He focuses on the application of SEO strategies at for Spain and Latin America, as well as the creation of high-level content. When he is not applying new WordPress tricks you can find him playing the guitar, traveling or taking an online course.

Loading Facebook Comments ...
Loading Disqus Comments ...