When it comes to managing a website or an online service, understanding the Domain Name System (DNS) is crucial. However, many people make common DNS mistakes that can lead to various issues, including downtime and misrouting of traffic. One such mistake involves adding double A records for both the www and non-www versions of a domain.

What Are A Records?

A records, or Address records, are DNS records that map a domain name to its corresponding IP address. They are used to point domain names to specific servers or IP addresses where the website or service is hosted.

Common Mistake: Adding Double A Records

One of the common mistakes people make is adding duplicate A records for both the www and non-www versions of their domain. For example, they might add an A record for "example.com" pointing to one IP address, and another A record for "www.example.com" pointing to a different IP address.

Why It's a Problem

Having double A records for www and non-www versions of a domain can lead to inconsistency and confusion in DNS resolution. When a user tries to access the website, the DNS resolver may return different IP addresses depending on whether they use the www prefix or not. This can result in erratic behavior, such as the website loading improperly or not loading at all.

How to Fix It

The recommended approach is to choose either the www or non-www version of your domain as the canonical version and then redirect traffic from the other version to the canonical one. This can be done using a simple DNS configuration or by setting up redirects at the web server level.

For example, if you decide to use the www version as the canonical version, you should have only one A record pointing to the IP address of your website. Then, set up a redirect from the non-www version to the www version using either DNS settings or web server configuration.


Understanding DNS and avoiding common mistakes like adding double A records can help ensure the smooth operation of your website or online service. By maintaining a clean and consistent DNS configuration, you can improve reliability and provide a better user experience for your visitors.

Copyright 2024 - DNS Verify Tool - Instant DNS Propagation Checker | Created by iDev.al | Privacy Policy

{"name":"DNS Verify Tool - Instant DNS Propagation Checker","version":"2.3","ads":{"one":"","two":"","three":"","four":"\n<div class=\"row\">\n<a href=\"https:\/\/isave.app?&utm_source=dnsverifytool.com\"><img alt=\"personal budget app\"src=\"https:\/\/themom-corner.al\/wp-content\/uploads\/2023\/11\/419269548_388033863607855_5613249068956625539_n.jpeg\"><\/a><\/div>","five":"","six":""},"socials":[],"colors":{"primary":"#0155b5","secondary":"#2fc10a","tertiary":"#d2ab3e"},"global":{"css":".navbar img {max-width: 180px;}","js":"","header":"<!-- TrustBox script -->\n<script type=\"text\/javascript\" src=\"\/\/widget.trustpilot.com\/bootstrap\/v5\/tp.widget.bootstrap.min.js\" async><\/script>\n<!-- End TrustBox script -->\n<!-- Google tag (gtag.js) -->\n<script async src=\"https:\/\/www.googletagmanager.com\/gtag\/js?id=G-5BLD3NRTRZ\"><\/script>\n<script>\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n\n gtag('config', 'G-5BLD3NRTRZ');\n<\/script>\n\n<meta name=\"msvalidate.01\" content=\"DA6CCBCF54B1C66B5CF44387EB719E0C\" \/>","footer":"<script type=\"application\/ld+json\">\n{\n \"@context\": \"https:\/\/schema.org\/\",\n \"@type\": \"WebSite\",\n \"name\": \"DNS Verify Tool\",\n \"url\": \"https:\/\/dnsverifytool.com\",\n \"potentialAction\": {\n \"@type\": \"SearchAction\",\n \"target\": \"https:\/\/dnsverifytool.com\/whois{search_term_string}\",\n \"query-input\": \"required name=search_term_string\"\n }\n}\n<\/script>\n"},"cookie":{"enable":true,"text":"<p>By using this website you agree to our <a href=\"#\" target=\"_blank\">Cookie Policy<\/a><\/p>"},"font_family":"Poppins","text":{"above_map":"<h2 class=\"ql-align-center\">DNS Verify Tool<\/h2><h1 class=\"ql-align-center\">Instant DNS Propagation Checker<\/h1>","below_map":"<p><br><\/p>","footer":"<p class=\"ql-align-center\">Copyright 2024 - DNS Verify Tool - Instant DNS Propagation Checker | Created by <a href=\"https:\/\/idev.al\" target=\"_blank\">iDev.al<\/a> | <a href=\"https:\/\/dnsverifytool.com\/privacy-policy\" target=\"_blank\">Privacy Policy<\/a><\/p>"},"find_btn":{"text":"Find","color":"#F3DF00","text_color":"#000000"},"whois_btn":{"text":"Lookup","color":"#5CC9FF","text_color":"#000000"},"default_dns":"A","enable_logs":true,"show_dark_mode":true,"enable_ad_block_detector":false,"ad_block_detector_filename":"pustrck.js","map_fail_reloader":true}