{"id":6112,"date":"2013-11-21T00:00:00","date_gmt":"2013-11-21T00:00:00","guid":{"rendered":"https:\/\/azure.microsoft.com\/blog\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws"},"modified":"2025-09-12T07:41:48","modified_gmt":"2025-09-12T14:41:48","slug":"a-records-cname-and-using-dns-with-windows-azure-web-sites-waws","status":"publish","type":"post","link":"https:\/\/azure.microsoft.com\/en-us\/blog\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\/","title":{"rendered":"A Records, CNAME and Using DNS with Windows Azure Web Sites (WAWS)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">When setting up a website, an important part of the game is having the site run on your own domain name. As you probably know, hosting your site on Windows Azure Web Sites allows this for both Shared and Standard tiers, but configuring DNS can be a bit tricky for those who aren\u2019t seasoned network engineers, especially if your domain registrar is not very cooperative (and let\u2019s face it\u2026for $10 a year, you can\u2019t really expect them to drop everything and drive over to your house, right?). Today, we\u2019ll explore some of the key terms and mechanisms that you\u2019ll run across when configuring DNS for your website, and see how to get it all to run smoothly. We\u2019ll talk about things like:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"wp-block-list-item\">DNS zones<\/li>\n\n\n\n<li class=\"wp-block-list-item\">DNS Servers<\/li>\n\n\n\n<li class=\"wp-block-list-item\">DNS Entries<\/li>\n\n\n\n<li class=\"wp-block-list-item\">CNAME records<\/li>\n\n\n\n<li class=\"wp-block-list-item\">A-Records<\/li>\n\n\n\n<li class=\"wp-block-list-item\">The best kind of Pizza to make time fly when waiting for DNS to update.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>DNS Basics<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Domain Name Resolution, or DNS for short, is a mechanism that resolves names to IP address, giving us the ability to browse to websites by entering their name, rather than trying to remember the IP address. When a website is setup, it\u2019s assigned a numerical IP address like 65.55.58.201 or 2607:f8b0:400a:0803:0000:0000:0000:1006, but this (especially the longer number) are not especially practical as they are difficult to remember and type. DNS is a world-wide service that\u2019s provided by several thousand servers, which spring to action when you type in an address in your browser to provide the IP of the website you want to visit. This process is called DNS Resolution.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Normally, this process is done by your browser in the background, without you being aware of it, but if you want, you can run it manually and see for yourself. To do so, open a CMD window from your start menu, and type the PING command, followed by the name of a website. If the site exists, you will see its IP address, like this:<\/p>\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2013\/11\/2086.1.webp-550x0-1.webp\" alt=\"block of code is displayed\" class=\"wp-image-8275 webp-format\" data-orig-src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2013\/11\/2086.1.png-550x0-1.webp\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">(Note that the four replies you see aren\u2019t necessarily returned by every site. Some block the reply as a security mechanism, but the IP that\u2019s shown in the square brackets would always be shown for any existing website)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When you setup a website on Windows Azure Web Sites (the process can be different with different website hosting providers, but we\u2019ll put a pin in that for now), it\u2019s automatically given an IP address by Azure, and you\u2019re asked to choose a name for it under the <strong>Azurewebsites.net<\/strong> domain:<\/p>\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2013\/11\/1108.2.webp-550x0-464x369-1.webp\" alt=\"a screenshot of a cell phone\" class=\"wp-image-8277 webp-format\" data-orig-src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2013\/11\/1108.2.png-550x0-464x369-1.webp\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When the wizard is completed, DNS gets \u201ctold\u201d that the name you selected should resolve to this site\u2019s IP, and this match gets stored in a special database called a <strong>DNS ZONE<\/strong>. Every domain in the world has a Zone, and the entry for your site gets stored in the Azurewebsites.net zone, which Microsoft manages.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Using the default name under the Azure zone is usually good enough for testing and development, but as you move your site into production you\u2019ll likely want your own domain. You would start this process by buying a domain name from one of the many global DNS providers. For example, GoDaddy is one of the better known providers in North America\u2026both for their great prices and for their awesome commercials starring Danica Patrick, Bar Refaeli and\u2026Jessie Heiman.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When you buy a domain from a domain provider, they will create the DNS Zone for you on their servers, and since a DNS needs to resolve the domain to an IP, they will ask if you already have a website with an IP. If not, you would typically have the option of \u201cparking\u201d the domain, which points the domain at an IP address of some server that has nothing on it, or some generic landing page (the domain provider typically has a special server that\u2019s designated to service the parked domains it hosts). If you already have a site, your domain provider will point the DNS Zone to its IP (which you need to provide as part of this process). The process of pointing a domain at an IP by a provider is called \u201c<strong>Creating a DNS record<\/strong>\u201d, and when this is done, the record is known as an <strong>A-Record<\/strong> or <strong>Host Record<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Site Dynamics<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When you create your website on Azure Web Sites, your site is assigned an IP address. You can identify that IP by running the PING command against your selected hostname, per the example provided earlier in this article. If you want, you can then buy a domain, and have an A-Record created in it that points to this IP, but you\u2019ll also have to tell Azure about your new domain. This is where things get complicated, because of the complex way websites are stored in the cloud.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The thing that\u2019s so great about the cloud, compared to traditional web hosting is that your site is not stored on a one specific server. The cloud is a dynamic environment and therefore your IP might change and so dealing with DNS is somewhat different. In other words, even though your site has an IP and you can easily find it\u2026you shouldn\u2019t have your domain point to that IP. To be clear\u2026you CAN hard code your DNS entry to point at that IP, but the IP might change, and If that happens, the Domain will point at an IP that is no longer really assigned to your server. In such a situation, when people try to visit your site, they will not be able to get to it. No fun at all! That\u2019s where CNAME comes into the picture.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>CNAME record<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In a situation such as this, where a site\u2019s IP might change at any moment, we have a somewhat different mechanism in DNS, known as <strong>Canonical Name<\/strong>, or <strong>CNAME<\/strong> for short. When a domain provider creates the DNS Zone for a customer that just bought a domain, they would usually create an A-Record, as we mentioned earlier, but they also have the option of creating a CNAME record instead. A CNAME record tells the DNS service that when the site\u2019s Domain doesn\u2019t point to an IP, but rather at ANOTHER URL. This is like someone coming into the grocery store to get a hypo-allergenic rubber ducky, and the clerk saying \u201cGee, I dunno, but ask Donny at the bar across the street\u2026he\u2019d know\u201d.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Because the IP of your site in Azure can change, using a CNAME is ideal, because it adds a middleman to the DNS Resolution process that\u2019s as dynamic as the IP. What we do is tell DNS that when someone types in your custom domain, to resolve it to your azurewebsites.net URL instead of an IP. Then, Azure\u2019s servers resolve your azurewebsites.net URL to the IP. Here is the process, side-by-side:<\/p>\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" alt=\"Two tables are displayed side by side. The first table is titled \"Name resolution for a custom domain for a regular website with an A-record.\" The second table is titled \"name resolution for a custom domain for an Azure website with a CNAME record\"\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2013\/11\/5224.name_.JPG-550x0-475x369-1.webp\" alt='Two tables are displayed side by side. The first table is titled \"Name resolution for a custom domain for a regular website with an A-record.\" The second table is titled \"name resolution for a custom domain for an Azure website with a CNAME record\" ' class=\"wp-image-8279 webp-format\" data-orig-alt=\"Two tables are displayed side by side. The first table is titled \"Name resolution for a custom domain for a regular website with an A-record.\" The second table is titled \"name resolution for a custom domain for an Azure website with a CNAME record\"\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2013\/11\/5224.name_.JPG-550x0-475x369-1.webp\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Even though the name resolution process with the cloud has more steps, it has no impact on you or your website visitors, because the process happens in the background, and instantly. The only real difference is in the way you need to have DNS configured for your domain when you purchase it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The main challenge with setup is due to the fact that many domain providers are still coming to grips with the huge amount of people moving to use the cloud. The larger providers have already moved to create wizards or clever editing tools to allow you to make the necessary configuration changes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If your provider already has a self-service interface, things could be really simple. For example, GoDaddy, which we mentioned earlier, has a domain editor that\u2019s quite easy to use. To add a CNAME for your domain, your steps would be:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li class=\"wp-block-list-item\">Login to your account<\/li>\n\n\n\n<li class=\"wp-block-list-item\">Go to your domain\u2019s page<\/li>\n\n\n\n<li class=\"wp-block-list-item\">Switch to the <strong>DNS Zone File<\/strong> tab<br><img decoding=\"async\" class=\"alignnone size-full wp-image-133861\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2013\/11\/5621.3.png-400x0-1.webp\" alt=\"graphical user interface, text, application, chat or text message\"><\/li>\n\n\n\n<li class=\"wp-block-list-item\">Click\u00a0<strong>Edit<\/strong>:<br><img loading=\"lazy\" decoding=\"async\" width=\"399\" height=\"361\" class=\"wp-image-8283\" style=\"width: 400px\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2013\/11\/3542.4.png-400x0-1.png\" alt=\"graphical user interface, text, application, chat or text message\"><\/li>\n\n\n\n<li class=\"wp-block-list-item\">The Zone Editor will open in a new tab. Under the <strong>CNAME<\/strong> block, click <strong>Quick Add:<br><\/strong><img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"227\" class=\"wp-image-8285\" style=\"width: 400px\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2013\/11\/5037.5.png-400x0-1.png\" alt=\"graphical user interface, text, application, email\"><\/li>\n\n\n\n<li class=\"wp-block-list-item\">Fill in the alias www and the name of your Azurewebsites.net URL:<br><img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"81\" class=\"wp-image-8287\" style=\"width: 400px\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2013\/11\/3858.6.png-400x0-1.png\" alt=\"graphical user interface, application\"><\/li>\n\n\n\n<li class=\"wp-block-list-item\">Click <strong>Save Zone File<\/strong> on the right-hand top of the screen<br><\/li>\n\n\n\n<li class=\"wp-block-list-item\">1. You\u2019re done! It would typically take the DNS about an hour to get updated, and once it does, if you use the PING command to ping your custom domain, you should be able to see it resolve to the name and IP of one of Azure\u2019s servers.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>More to explore<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Usually, when people want to browse to a site, they type its URL, like <a href=\"https:\/\/www.createhive.com\/\">www.createhive.com<\/a>. However, you might have occasionally seen sites that don\u2019t start with the WWW prefix. In fact, for most sites, you can reach the site by simply typing the domain like \u201ccreatehive.com\u201d, and still get to it. To be able to service requests like this, your domain has to have a special DNS record pointing to the \u201croot\u201d of the site (as in, its name without any prefix). Unfortunately, it\u2019s not possible to have a CNAME record like that, and for this, special action must be taken. This is discussed in <a href=\"https:\/\/azure.microsoft.com\/en-us\/develop\/net\/common-tasks\/custom-dns-web-site\/\">this article<\/a>, under <strong>Configure an A record for the domain name<\/strong>. We will discuss this some more in a future blog post. Stay tuned!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Summary<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The process described above is something you would do rarely, because most people don\u2019t buy domains or move their sites every day. We recommend saving this guide for future reference. As we mentioned, your domain provider might have a different mechanism or procedure for setting up CNAME records, so it would be a good idea to explore it and get to know it well.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When setting up a website, an important part of the game is having the site run on your own domain name.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ms_queue_id":[],"ep_exclude_from_search":false,"_classifai_error":"","_classifai_text_to_speech_error":"","_alt_title":"","footnotes":"","msx_community_cta_settings":[]},"categories":[1467,1461],"tags":[],"audience":[],"content-type":[1511],"product":[1542],"tech-community":[],"topic":[],"coauthors":[97],"class_list":["post-6112","post","type-post","status-publish","format-standard","hentry","category-compute","category-web","content-type-best-practices","product-static-web-apps","review-flag-1680286584-658","review-flag-1-1680286581-825","review-flag-alway-1680286580-106","review-flag-new-1680286579-546","review-flag-sprin-1680286584-399"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>A Records, CNAME and Using DNS with Windows Azure Web Sites (WAWS) | Microsoft Azure Blog<\/title>\n<meta name=\"description\" content=\"When setting up a website, an important part of the game is having the site run on your own domain name. As you probably know, hosting your site on Windows Azure Web Sites allows this for both Shared\u2026\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/azure.microsoft.com\/en-us\/blog\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A Records, CNAME and Using DNS with Windows Azure Web Sites (WAWS) | Microsoft Azure Blog\" \/>\n<meta property=\"og:description\" content=\"When setting up a website, an important part of the game is having the site run on your own domain name. As you probably know, hosting your site on Windows Azure Web Sites allows this for both Shared\u2026\" \/>\n<meta property=\"og:url\" content=\"https:\/\/azure.microsoft.com\/en-us\/blog\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\/\" \/>\n<meta property=\"og:site_name\" content=\"Microsoft Azure Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/microsoftazure\" \/>\n<meta property=\"article:published_time\" content=\"2013-11-21T00:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-12T14:41:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2013\/11\/2086.1.png-550x0-1.png\" \/>\n<meta name=\"author\" content=\"Microsoft Azure\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@azure\" \/>\n<meta name=\"twitter:site\" content=\"@azure\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Microsoft Azure\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\\\/\"},\"author\":[{\"@id\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/author\\\/microsoft-azure\\\/\",\"@type\":\"Person\",\"@name\":\"Microsoft Azure\"}],\"headline\":\"A Records, CNAME and Using DNS with Windows Azure Web Sites (WAWS)\",\"datePublished\":\"2013-11-21T00:00:00+00:00\",\"dateModified\":\"2025-09-12T14:41:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\\\/\"},\"wordCount\":1626,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/11\\\/2086.1.png-550x0-1.png\",\"articleSection\":[\"Compute\",\"Web\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\\\/\",\"url\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\\\/\",\"name\":\"A Records, CNAME and Using DNS with Windows Azure Web Sites (WAWS) | Microsoft Azure Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/11\\\/2086.1.png-550x0-1.png\",\"datePublished\":\"2013-11-21T00:00:00+00:00\",\"dateModified\":\"2025-09-12T14:41:48+00:00\",\"description\":\"When setting up a website, an important part of the game is having the site run on your own domain name. As you probably know, hosting your site on Windows Azure Web Sites allows this for both Shared\u2026\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\\\/#primaryimage\",\"url\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/11\\\/2086.1.png-550x0-1.webp\",\"contentUrl\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/11\\\/2086.1.png-550x0-1.webp\",\"width\":550,\"height\":237,\"caption\":\"block of code is displayed\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog home\",\"item\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Compute\",\"item\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/category\\\/compute\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"A Records, CNAME and Using DNS with Windows Azure Web Sites (WAWS)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/\",\"name\":\"Microsoft Azure Blog\",\"description\":\"Get the latest Azure news, updates, and announcements from the Azure blog. From product updates to hot topics, hear from the Azure experts.\",\"publisher\":{\"@id\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/#organization\",\"name\":\"Microsoft Azure Blog\",\"url\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/06\\\/microsoft_logo.webp\",\"contentUrl\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/06\\\/microsoft_logo.webp\",\"width\":512,\"height\":512,\"caption\":\"Microsoft Azure Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/microsoftazure\",\"https:\\\/\\\/x.com\\\/azure\",\"https:\\\/\\\/www.instagram.com\\\/microsoftdeveloper\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/16188386\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/windowsazure\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/#\\\/schema\\\/person\\\/c702e5edd662b328b49b7e1180cab117\",\"name\":\"shakir\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g7664e653ea371ce16eaf75e9fa8952c4\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g\",\"caption\":\"shakir\"},\"sameAs\":[\"https:\\\/\\\/azure.microsoft.com\"],\"url\":\"https:\\\/\\\/azure.microsoft.com\\\/en-us\\\/blog\\\/author\\\/shakir\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"A Records, CNAME and Using DNS with Windows Azure Web Sites (WAWS) | Microsoft Azure Blog","description":"When setting up a website, an important part of the game is having the site run on your own domain name. As you probably know, hosting your site on Windows Azure Web Sites allows this for both Shared\u2026","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/azure.microsoft.com\/en-us\/blog\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\/","og_locale":"en_US","og_type":"article","og_title":"A Records, CNAME and Using DNS with Windows Azure Web Sites (WAWS) | Microsoft Azure Blog","og_description":"When setting up a website, an important part of the game is having the site run on your own domain name. As you probably know, hosting your site on Windows Azure Web Sites allows this for both Shared\u2026","og_url":"https:\/\/azure.microsoft.com\/en-us\/blog\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\/","og_site_name":"Microsoft Azure Blog","article_publisher":"https:\/\/www.facebook.com\/microsoftazure","article_published_time":"2013-11-21T00:00:00+00:00","article_modified_time":"2025-09-12T14:41:48+00:00","og_image":[{"url":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2013\/11\/2086.1.png-550x0-1.png","type":"","width":"","height":""}],"author":"Microsoft Azure","twitter_card":"summary_large_image","twitter_creator":"@azure","twitter_site":"@azure","twitter_misc":{"Written by":"Microsoft Azure","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\/#article","isPartOf":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\/"},"author":[{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/microsoft-azure\/","@type":"Person","@name":"Microsoft Azure"}],"headline":"A Records, CNAME and Using DNS with Windows Azure Web Sites (WAWS)","datePublished":"2013-11-21T00:00:00+00:00","dateModified":"2025-09-12T14:41:48+00:00","mainEntityOfPage":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\/"},"wordCount":1626,"commentCount":0,"publisher":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization"},"image":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\/#primaryimage"},"thumbnailUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2013\/11\/2086.1.png-550x0-1.png","articleSection":["Compute","Web"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/azure.microsoft.com\/en-us\/blog\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\/","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\/","name":"A Records, CNAME and Using DNS with Windows Azure Web Sites (WAWS) | Microsoft Azure Blog","isPartOf":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\/#primaryimage"},"image":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\/#primaryimage"},"thumbnailUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2013\/11\/2086.1.png-550x0-1.png","datePublished":"2013-11-21T00:00:00+00:00","dateModified":"2025-09-12T14:41:48+00:00","description":"When setting up a website, an important part of the game is having the site run on your own domain name. As you probably know, hosting your site on Windows Azure Web Sites allows this for both Shared\u2026","breadcrumb":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/azure.microsoft.com\/en-us\/blog\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\/#primaryimage","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2013\/11\/2086.1.png-550x0-1.webp","contentUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2013\/11\/2086.1.png-550x0-1.webp","width":550,"height":237,"caption":"block of code is displayed"},{"@type":"BreadcrumbList","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/a-records-cname-and-using-dns-with-windows-azure-web-sites-waws\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog home","item":"https:\/\/azure.microsoft.com\/en-us\/blog\/"},{"@type":"ListItem","position":2,"name":"Compute","item":"https:\/\/azure.microsoft.com\/en-us\/blog\/category\/compute\/"},{"@type":"ListItem","position":3,"name":"A Records, CNAME and Using DNS with Windows Azure Web Sites (WAWS)"}]},{"@type":"WebSite","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#website","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/","name":"Microsoft Azure Blog","description":"Get the latest Azure news, updates, and announcements from the Azure blog. From product updates to hot topics, hear from the Azure experts.","publisher":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/azure.microsoft.com\/en-us\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization","name":"Microsoft Azure Blog","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp","contentUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp","width":512,"height":512,"caption":"Microsoft Azure Blog"},"image":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/microsoftazure","https:\/\/x.com\/azure","https:\/\/www.instagram.com\/microsoftdeveloper\/","https:\/\/www.linkedin.com\/company\/16188386","https:\/\/www.youtube.com\/user\/windowsazure"]},{"@type":"Person","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/person\/c702e5edd662b328b49b7e1180cab117","name":"shakir","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g7664e653ea371ce16eaf75e9fa8952c4","url":"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g","caption":"shakir"},"sameAs":["https:\/\/azure.microsoft.com"],"url":"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/shakir\/"}]}},"msxcm_animated_featured_image":null,"bloginabox_display_generated_audio":false,"distributor_meta":false,"distributor_terms":false,"distributor_media":false,"distributor_original_site_name":"Microsoft Azure Blog","distributor_original_site_url":"https:\/\/azure.microsoft.com\/en-us\/blog","push-errors":false,"_links":{"self":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts\/6112","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/comments?post=6112"}],"version-history":[{"count":1,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts\/6112\/revisions"}],"predecessor-version":[{"id":46118,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts\/6112\/revisions\/46118"}],"wp:attachment":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/media?parent=6112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/categories?post=6112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/tags?post=6112"},{"taxonomy":"audience","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/audience?post=6112"},{"taxonomy":"content-type","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/content-type?post=6112"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/product?post=6112"},{"taxonomy":"tech-community","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/tech-community?post=6112"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/topic?post=6112"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/coauthors?post=6112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}