{"id":29881,"date":"2021-04-22T06:18:09","date_gmt":"2021-04-22T06:18:09","guid":{"rendered":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-setup-cdn\/"},"modified":"2024-07-03T05:48:08","modified_gmt":"2024-07-03T05:48:08","slug":"how-to-setup-cdn","status":"publish","type":"knowledgebase","link":"https:\/\/www.wpstaq.com\/au\/knowledgebase\/how-to-setup-cdn\/","title":{"rendered":"How to setup Staq Traditional CDN"},"content":{"rendered":"\r\n<p class=\"wp-block-paragraph\">Setting up and deploying the CDN requires minimal clicks with Staq. The Staq CDN is powered by AWS CloudFront, a leading CDN provider.<\/p>\r\n<p>The process is simple. Go to the Staq Panel of the website in question and click <strong>CDN<\/strong>:<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-3307\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2021\/04\/enable-CDN-1024x438.png\" alt=\"\" width=\"1024\" height=\"438\" \/><\/p>\r\n<p>Then, click\u00a0<strong>Get Started.\u00a0<\/strong><\/p>\r\n<p>A popup will then open. By default, it will show\u00a0<strong>cdn<\/strong> but you can amend this to whatever you want. Once considered, click\u00a0<strong>Save<\/strong>:<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-3308\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2021\/04\/create-CDN-1024x560.png\" alt=\"\" width=\"1024\" height=\"560\" \/><\/p>\r\n<p>The steps will differ below based on how your DNS is hosted.\u00a0<\/p>\r\n<p>If the website is hosted with Staq DNS, go to heading,\u00a0<strong>Setup A<\/strong>.\u00a0<\/p>\r\n<p>If the website uses a third-party DNS, go to heading, <strong>Setup B<\/strong>.<\/p>\r\n<h2><strong>Setup A &#8211; Using Staq DNS<\/strong><\/h2>\r\n<p>This section relates to if the website uses Staq DNS as the DNS provider.<\/p>\r\n<p>If that is the case, your work is all done. As per the screenshot, since the DNS is hosted with Staq, the CDN will automate the validation and will automatically deploy the CDN on your behalf. Staq will also automatically handle all renewals in the future.<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-3309\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2021\/04\/uses-staq-dns-cdn-1024x708.png\" alt=\"\" width=\"1024\" height=\"708\" \/><\/p>\r\n<p>&nbsp;<\/p>\r\n<h2><strong>Setup B<\/strong><strong> &#8211; Using a third-party DNS<\/strong><\/h2>\r\n<p>If you&#8217;re using a third-party DNS, you&#8217;ll need to verify 2x CNAME records inside your DNS to authenticate ownership to the DNS for Staq to deploy the assets to the CDN.<\/p>\r\n<h3>Step 1<\/h3>\r\n<p>Create the 1st CNAME record by going to your DNS provider and creating a CNAME record.<\/p>\r\n<p>Set the\u00a0<strong>TTL as 300ms or 5 mins<\/strong><\/p>\r\n<p>Copy the <span style=\"text-decoration: underline;\">Name\/Host<\/span> from Staq and paste it inside your CNAME record.\u00a0<\/p>\r\n<p>Repeat the process for the <span style=\"text-decoration: underline;\">Pointing To<\/span> section<\/p>\r\n<p>Once done, click the checkbox to verify that you&#8217;ve completed the steps:<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-3310\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2021\/04\/Step-1-CDN-setup-1024x900.png\" alt=\"\" width=\"1024\" height=\"900\" \/><\/p>\r\n<p>It may take up to a few minutes to propagate that particular CNAME record. Once Staq verifies that this particular CNAME has propagated, it will automatically go to the next screen.<\/p>\r\n<h3>Step 2<\/h3>\r\n<p>In this screen, you&#8217;ll notice that the 2nd records are different and that the warning message is in a lighter blue.<\/p>\r\n<p>Create the 2nd CNAME record by going to your DNS provider and creating a CNAME record.<\/p>\r\n<p>Set the\u00a0<strong>TTL as 300ms or 5 mins<\/strong><\/p>\r\n<p>Copy the <span style=\"text-decoration: underline;\">Name\/Host<\/span> from Staq and paste it inside your CNAME record.\u00a0<\/p>\r\n<p>Repeat the process for the <span style=\"text-decoration: underline;\">Pointing To<\/span> section<\/p>\r\n<p>Once done, click the checkbox to verify that you&#8217;ve completed the steps:<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-3311\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2021\/04\/Step-2-CDN-setup-1024x868.png\" alt=\"\" width=\"1024\" height=\"868\" \/><\/p>\r\n<p>Once that has been completed correctly, Staq will verify the 2nd CDN entry. Once verified and authenticated, it&#8217;ll automatically deploy the website&#8217;s assets across to the CDN.<\/p>\r\n","protected":false},"featured_media":29605,"parent":0,"template":"","class_list":["post-29881","knowledgebase","type-knowledgebase","status-publish","has-post-thumbnail","hentry","categories-cdn-aws"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to setup Staq Traditional CDN - Managed Hosting Platform for WordPress<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-setup-cdn\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to setup Staq Traditional CDN - Managed Hosting Platform for WordPress\" \/>\n<meta property=\"og:description\" content=\"Setting up and deploying the CDN requires minimal clicks with Staq. The Staq CDN is powered by AWS CloudFront, a leading CDN provider. The process is simple. Go to the Staq Panel of the website in question and click CDN: Then, click\u00a0Get Started.\u00a0 A popup will then open. By default, it will show\u00a0cdn but you&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-setup-cdn\/\" \/>\n<meta property=\"og:site_name\" content=\"Managed Hosting Platform for WordPress\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/staqhosting\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-03T05:48:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/cdn-cache-not-clearing-after-changes-to-plugin-theme.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"500\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/how-to-setup-cdn\\\/\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/how-to-setup-cdn\\\/\",\"name\":\"How to setup Staq Traditional CDN - Managed Hosting Platform for WordPress\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/how-to-setup-cdn\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/how-to-setup-cdn\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/cdn-cache-not-clearing-after-changes-to-plugin-theme.png\",\"datePublished\":\"2021-04-22T06:18:09+00:00\",\"dateModified\":\"2024-07-03T05:48:08+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/how-to-setup-cdn\\\/#breadcrumb\"},\"inLanguage\":\"en-au\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/how-to-setup-cdn\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-au\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/how-to-setup-cdn\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/cdn-cache-not-clearing-after-changes-to-plugin-theme.png\",\"contentUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/cdn-cache-not-clearing-after-changes-to-plugin-theme.png\",\"width\":1000,\"height\":500},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/how-to-setup-cdn\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.wpstaq.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to setup Staq Traditional CDN\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#website\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/\",\"name\":\"Managed Hosting Platform for WordPress\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.wpstaq.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-au\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#organization\",\"name\":\"Staq\",\"alternateName\":\"WPStaq\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-au\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/cropped-LogoNoText.png\",\"contentUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/cropped-LogoNoText.png\",\"width\":512,\"height\":512,\"caption\":\"Staq\"},\"image\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/staqhosting\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/wpstaq\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to setup Staq Traditional CDN - Managed Hosting Platform for WordPress","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:\/\/www.wpstaq.com\/knowledgebase\/how-to-setup-cdn\/","og_locale":"en_US","og_type":"article","og_title":"How to setup Staq Traditional CDN - Managed Hosting Platform for WordPress","og_description":"Setting up and deploying the CDN requires minimal clicks with Staq. The Staq CDN is powered by AWS CloudFront, a leading CDN provider. The process is simple. Go to the Staq Panel of the website in question and click CDN: Then, click\u00a0Get Started.\u00a0 A popup will then open. By default, it will show\u00a0cdn but you&hellip;","og_url":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-setup-cdn\/","og_site_name":"Managed Hosting Platform for WordPress","article_publisher":"https:\/\/www.facebook.com\/staqhosting\/","article_modified_time":"2024-07-03T05:48:08+00:00","og_image":[{"width":1000,"height":500,"url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/cdn-cache-not-clearing-after-changes-to-plugin-theme.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-setup-cdn\/","url":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-setup-cdn\/","name":"How to setup Staq Traditional CDN - Managed Hosting Platform for WordPress","isPartOf":{"@id":"https:\/\/www.wpstaq.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-setup-cdn\/#primaryimage"},"image":{"@id":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-setup-cdn\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/cdn-cache-not-clearing-after-changes-to-plugin-theme.png","datePublished":"2021-04-22T06:18:09+00:00","dateModified":"2024-07-03T05:48:08+00:00","breadcrumb":{"@id":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-setup-cdn\/#breadcrumb"},"inLanguage":"en-au","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wpstaq.com\/knowledgebase\/how-to-setup-cdn\/"]}]},{"@type":"ImageObject","inLanguage":"en-au","@id":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-setup-cdn\/#primaryimage","url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/cdn-cache-not-clearing-after-changes-to-plugin-theme.png","contentUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/cdn-cache-not-clearing-after-changes-to-plugin-theme.png","width":1000,"height":500},{"@type":"BreadcrumbList","@id":"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-setup-cdn\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.wpstaq.com\/"},{"@type":"ListItem","position":2,"name":"How to setup Staq Traditional CDN"}]},{"@type":"WebSite","@id":"https:\/\/www.wpstaq.com\/#website","url":"https:\/\/www.wpstaq.com\/","name":"Managed Hosting Platform for WordPress","description":"","publisher":{"@id":"https:\/\/www.wpstaq.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wpstaq.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-au"},{"@type":"Organization","@id":"https:\/\/www.wpstaq.com\/#organization","name":"Staq","alternateName":"WPStaq","url":"https:\/\/www.wpstaq.com\/","logo":{"@type":"ImageObject","inLanguage":"en-au","@id":"https:\/\/www.wpstaq.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/cropped-LogoNoText.png","contentUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/cropped-LogoNoText.png","width":512,"height":512,"caption":"Staq"},"image":{"@id":"https:\/\/www.wpstaq.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/staqhosting\/","https:\/\/www.linkedin.com\/company\/wpstaq"]}]}},"_links":{"self":[{"href":"https:\/\/www.wpstaq.com\/au\/wp-json\/wp\/v2\/knowledgebase\/29881","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wpstaq.com\/au\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"https:\/\/www.wpstaq.com\/au\/wp-json\/wp\/v2\/types\/knowledgebase"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wpstaq.com\/au\/wp-json\/wp\/v2\/media\/29605"}],"wp:attachment":[{"href":"https:\/\/www.wpstaq.com\/au\/wp-json\/wp\/v2\/media?parent=29881"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}