{"id":169,"date":"2019-03-09T15:46:24","date_gmt":"2019-03-09T15:46:24","guid":{"rendered":"https:\/\/www.easydeploy.io\/blog\/?p=169"},"modified":"2019-04-16T08:01:03","modified_gmt":"2019-04-16T07:01:03","slug":"setting-cors-mechanism-digital-ocean-servers","status":"publish","type":"post","link":"https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/","title":{"rendered":"Setting up of CORS mechanism in Digital Ocean Servers"},"content":{"rendered":"\n<p>Have you ever wondered how to allow a browser to access the resources on a remote server while running from one origin? You can do it with the help of Cross-Origin Resource Sharing(CORS).<br><br>Web browsers do not allow websites to make cross-origin request due to security concerns. To inform our browser to allow access to the resources of another domain\/protocol\/port, we have to use a mechanism called <strong>Cross-Origin Resource Sharing (CORS)<\/strong> <\/p>\n\n\n\n<p><em>An example of a cross-origin request: A JavaScript application (http:\/\/mydomain.com) requesting resources from another domain such as http:\/\/api.anotherdomain.com\/image.zip using XMLHttpRequest method. This is done to free up the original server and take advantage of a demographically closer server to serve content.<\/em><\/p>\n\n\n\n<p>Cross-Origin Resource Sharing is a mechanism in which the web application running in a domain can access the limited resources of another domain\/server\/port\/protocl with the permissions done via additional HTTP headers. It needs to be done by setting the response header of the end server\u2019s as <\/p>\n\n\n\n<p><strong>ACCESS-CONTROL-ALLOW-ORIGIN:HTTPS:\/\/&lt;domain name for which its resources are allowed to be accessed&gt; <\/strong><\/p>\n\n\n\n<p>Cross-Origin requests are also known as Cross-Site requests where a web page of particular domain access makes requests to the URL of different domains. This mechanism of CORS supports secure cross-origin requests between the browsers and the servers without any vulnerability. It also allows choosing of the external servers for storing resources or accessing them. <br><\/p>\n\n\n\n<p>The request methods allowed in CORS are <strong>GET<\/strong>, <strong>HEAD<\/strong> and <strong>POST<\/strong><br><\/p>\n\n\n\n<p>I) <strong>GET<\/strong>\u2192 this HTTPS request allows only to retrieve data from the specified resources<\/p>\n\n\n\n<p>II) <strong>HEAD<\/strong>\u2192 this method requests the headers that are returned if the specified resources are requested with the GET method<\/p>\n\n\n\n<p>III) <strong>POST<\/strong>\u2192 this sends data to the server and this request is sent via a html form<br><\/p>\n\n\n\n<p>Now in order to &nbsp;enable the mechanism of CORS in Digital Ocean servers follow the following steps<br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Login in to Digital Ocean<\/h2>\n\n\n\n<p><strong>Login<\/strong> into to Digital Ocean server using your credentials<\/p>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"338\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/login-into-digital-ocean-server-1024x338.png\" alt=\"Login into to digital ocean server\" class=\"wp-image-170\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/login-into-digital-ocean-server-1024x338.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/login-into-digital-ocean-server-300x99.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/login-into-digital-ocean-server-768x254.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/login-into-digital-ocean-server.png 1348w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mce_30\">Step 2: Click on Spaces<\/h2>\n\n\n\n<p>Expand <strong>Manage<\/strong> and then click on <strong>Spaces<\/strong> which will be in the left-side of the screen <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"400\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/expand-manage-and-spaces-1024x400.png\" alt=\"Expand Manage and Spaces \" class=\"wp-image-171\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/expand-manage-and-spaces-1024x400.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/expand-manage-and-spaces-300x117.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/expand-manage-and-spaces-768x300.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/expand-manage-and-spaces.png 1353w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mce_30\">Step 3: Select the Space for CORS<\/h2>\n\n\n\n<p>After choosing the Spaces, you will have the list of the spaces which you have already setup now. Select the one for which you need to set up the CORS mechanism.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"216\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/set-up-the-cors-mechanism-1024x216.png\" alt=\"Set up the CORS mechanism\" class=\"wp-image-172\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/set-up-the-cors-mechanism-1024x216.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/set-up-the-cors-mechanism-300x63.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/set-up-the-cors-mechanism-768x162.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/set-up-the-cors-mechanism.png 1364w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mce_30\">Step 4: Navigate to Space Settings<\/h2>\n\n\n\n<p>After choosing the space of our desired choice navigate to the settings of that particular space<br><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"303\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/choice-navigate-to-the-settings-1024x303.png\" alt=\"choose navigate to the settings\" class=\"wp-image-173\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/choice-navigate-to-the-settings-1024x303.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/choice-navigate-to-the-settings-300x89.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/choice-navigate-to-the-settings-768x227.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/choice-navigate-to-the-settings.png 1152w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mce_30\">Step 5: Click on Add<\/h2>\n\n\n\n<p>Now navigate to <strong>CORS Configurations<\/strong> in the settings and then click on <strong>Add<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/navigate-to-cors-configurations-1024x576.png\" alt=\"Navigate to CORS configurations\" class=\"wp-image-174\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/navigate-to-cors-configurations-1024x576.png 1024w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/navigate-to-cors-configurations-300x169.png 300w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/navigate-to-cors-configurations-768x432.png 768w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/navigate-to-cors-configurations.png 1158w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mce_30\">Step 6: Setup Origin Domain Name<\/h2>\n\n\n\n<p>Now after clicking on Add provide the &nbsp;<strong>Origin domain name<\/strong> for which we are allowing the spaces to be accessed and choose any one of the requests among the three methods GET, POST or HEAD. After selecting then click on <strong>Save Changes<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"598\" height=\"536\" src=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/add-origin-domain-name.png\" alt=\"Add Origin domain name\" class=\"wp-image-175\" srcset=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/add-origin-domain-name.png 598w, https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/add-origin-domain-name-300x269.png 300w\" sizes=\"(max-width: 598px) 100vw, 598px\" \/><\/figure><\/div>\n\n\n\n<p>Once done, you will be able to use CORS for cross origin requests. <br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Have you ever wondered how to allow a browser to access the resources on a remote server while running from one origin? You can do it with the help of Cross-Origin Resource Sharing(CORS). Web browsers do not allow websites to make cross-origin request due to security concerns. To inform our browser to allow access to [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3],"tags":[19,7,20],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Setting up of CORS mechanism in Digital Ocean Servers | easydeploy.io<\/title>\n<meta name=\"description\" content=\"Check out how to setup CORS Mechanism on Digital Ocean Severs. We go through a step-to-step guide with proper explanation. Click to learn more!\" \/>\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.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Setting up of CORS mechanism in Digital Ocean Servers | easydeploy.io\" \/>\n<meta property=\"og:description\" content=\"Check out how to setup CORS Mechanism on Digital Ocean Severs. We go through a step-to-step guide with proper explanation. Click to learn more!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/\" \/>\n<meta property=\"og:site_name\" content=\"easydeploy.io\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-09T15:46:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-04-16T07:01:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/login-into-digital-ocean-server-1024x338.png\" \/>\n<meta name=\"author\" content=\"Siranjeevi R\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Siranjeevi R\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/\"},\"author\":{\"name\":\"Siranjeevi R\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#\/schema\/person\/0e7f79e0cd26f6446f7a76d9d2d3b20c\"},\"headline\":\"Setting up of CORS mechanism in Digital Ocean Servers\",\"datePublished\":\"2019-03-09T15:46:24+00:00\",\"dateModified\":\"2019-04-16T07:01:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/\"},\"wordCount\":502,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/login-into-digital-ocean-server-1024x338.png\",\"keywords\":[\"CORS\",\"Digital Ocean\",\"Tutorial\"],\"articleSection\":[\"Cloud Hosting Services\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/\",\"url\":\"https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/\",\"name\":\"Setting up of CORS mechanism in Digital Ocean Servers | easydeploy.io\",\"isPartOf\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/login-into-digital-ocean-server-1024x338.png\",\"datePublished\":\"2019-03-09T15:46:24+00:00\",\"dateModified\":\"2019-04-16T07:01:03+00:00\",\"description\":\"Check out how to setup CORS Mechanism on Digital Ocean Severs. We go through a step-to-step guide with proper explanation. Click to learn more!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/#primaryimage\",\"url\":\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/login-into-digital-ocean-server.png\",\"contentUrl\":\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/login-into-digital-ocean-server.png\",\"width\":1348,\"height\":445,\"caption\":\"Login into to digital ocean server\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.easydeploy.io\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Setting up of CORS mechanism in Digital Ocean Servers\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#website\",\"url\":\"https:\/\/www.easydeploy.io\/blog\/\",\"name\":\"easydeploy.io\",\"description\":\"A Cloud Architect Company\",\"publisher\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.easydeploy.io\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#organization\",\"name\":\"EasyDeploy Technologies Pvt Ltd\",\"url\":\"https:\/\/www.easydeploy.io\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/02\/easydeploy.png\",\"contentUrl\":\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/02\/easydeploy.png\",\"width\":536,\"height\":100,\"caption\":\"EasyDeploy Technologies Pvt Ltd\"},\"image\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#\/schema\/person\/0e7f79e0cd26f6446f7a76d9d2d3b20c\",\"name\":\"Siranjeevi R\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/353661218917699fcc292e9bc0da9081?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/353661218917699fcc292e9bc0da9081?s=96&d=mm&r=g\",\"caption\":\"Siranjeevi R\"},\"url\":\"https:\/\/www.easydeploy.io\/blog\/author\/siru\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Setting up of CORS mechanism in Digital Ocean Servers | easydeploy.io","description":"Check out how to setup CORS Mechanism on Digital Ocean Severs. We go through a step-to-step guide with proper explanation. Click to learn more!","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.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/","og_locale":"en_GB","og_type":"article","og_title":"Setting up of CORS mechanism in Digital Ocean Servers | easydeploy.io","og_description":"Check out how to setup CORS Mechanism on Digital Ocean Severs. We go through a step-to-step guide with proper explanation. Click to learn more!","og_url":"https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/","og_site_name":"easydeploy.io","article_published_time":"2019-03-09T15:46:24+00:00","article_modified_time":"2019-04-16T07:01:03+00:00","og_image":[{"url":"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/login-into-digital-ocean-server-1024x338.png"}],"author":"Siranjeevi R","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Siranjeevi R","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/#article","isPartOf":{"@id":"https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/"},"author":{"name":"Siranjeevi R","@id":"https:\/\/www.easydeploy.io\/blog\/#\/schema\/person\/0e7f79e0cd26f6446f7a76d9d2d3b20c"},"headline":"Setting up of CORS mechanism in Digital Ocean Servers","datePublished":"2019-03-09T15:46:24+00:00","dateModified":"2019-04-16T07:01:03+00:00","mainEntityOfPage":{"@id":"https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/"},"wordCount":502,"commentCount":0,"publisher":{"@id":"https:\/\/www.easydeploy.io\/blog\/#organization"},"image":{"@id":"https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/#primaryimage"},"thumbnailUrl":"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/login-into-digital-ocean-server-1024x338.png","keywords":["CORS","Digital Ocean","Tutorial"],"articleSection":["Cloud Hosting Services"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/","url":"https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/","name":"Setting up of CORS mechanism in Digital Ocean Servers | easydeploy.io","isPartOf":{"@id":"https:\/\/www.easydeploy.io\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/#primaryimage"},"image":{"@id":"https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/#primaryimage"},"thumbnailUrl":"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/login-into-digital-ocean-server-1024x338.png","datePublished":"2019-03-09T15:46:24+00:00","dateModified":"2019-04-16T07:01:03+00:00","description":"Check out how to setup CORS Mechanism on Digital Ocean Severs. We go through a step-to-step guide with proper explanation. Click to learn more!","breadcrumb":{"@id":"https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/#primaryimage","url":"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/login-into-digital-ocean-server.png","contentUrl":"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/03\/login-into-digital-ocean-server.png","width":1348,"height":445,"caption":"Login into to digital ocean server"},{"@type":"BreadcrumbList","@id":"https:\/\/www.easydeploy.io\/blog\/setting-cors-mechanism-digital-ocean-servers\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.easydeploy.io\/blog\/"},{"@type":"ListItem","position":2,"name":"Setting up of CORS mechanism in Digital Ocean Servers"}]},{"@type":"WebSite","@id":"https:\/\/www.easydeploy.io\/blog\/#website","url":"https:\/\/www.easydeploy.io\/blog\/","name":"easydeploy.io","description":"A Cloud Architect Company","publisher":{"@id":"https:\/\/www.easydeploy.io\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.easydeploy.io\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.easydeploy.io\/blog\/#organization","name":"EasyDeploy Technologies Pvt Ltd","url":"https:\/\/www.easydeploy.io\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.easydeploy.io\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/02\/easydeploy.png","contentUrl":"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/02\/easydeploy.png","width":536,"height":100,"caption":"EasyDeploy Technologies Pvt Ltd"},"image":{"@id":"https:\/\/www.easydeploy.io\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.easydeploy.io\/blog\/#\/schema\/person\/0e7f79e0cd26f6446f7a76d9d2d3b20c","name":"Siranjeevi R","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.easydeploy.io\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/353661218917699fcc292e9bc0da9081?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/353661218917699fcc292e9bc0da9081?s=96&d=mm&r=g","caption":"Siranjeevi R"},"url":"https:\/\/www.easydeploy.io\/blog\/author\/siru\/"}]}},"_links":{"self":[{"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/posts\/169"}],"collection":[{"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/comments?post=169"}],"version-history":[{"count":5,"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/posts\/169\/revisions"}],"predecessor-version":[{"id":319,"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/posts\/169\/revisions\/319"}],"wp:attachment":[{"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/media?parent=169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/categories?post=169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/tags?post=169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}