Organizational Research By

Surprising Reserch Topic

Are your DNS Settings Directing you to the Correct Place?


If you can reach your site through the IP address, but not through the domain name, you may need to take a look at your DNS settings.

In order for visitors to reach your site through its domain name, you should have an "A" or "AAAA" record pointing to your server's IP address in the DNS settings. You can query for your domain's "A" record by running this command:

host -t A example.com
example.com has address 93.184.216.119
The line that is returned to you should match the IP address of your server. If you need to check an "AAAA" record (for IPv6 connections), you can type:

host -t AAAA example.com
example.com has IPv6 address 2606:2800:220:6d:26bf:1447:1097:aa7
Keep in mind that any changes you make to the DNS records will take quite a long time to propagate. You may receive inconsistent results to these queries after a change since your request will often hit different servers that are not all up-to-date yet.
asked Aug 29, 2015 in LINUX by rajesh
0 votes
19 views



Related Hot Questions



Government Jobs Opening


...