{"id":9512,"date":"2023-04-05T07:09:11","date_gmt":"2023-04-05T07:09:11","guid":{"rendered":"https:\/\/cpanelplesk.com\/wp62\/?p=9512"},"modified":"2023-04-05T07:09:11","modified_gmt":"2023-04-05T07:09:11","slug":"how-to-configure-s3-to-host-a-static-website","status":"publish","type":"post","link":"https:\/\/cpanelplesk.com\/wp62\/how-to-configure-s3-to-host-a-static-website\/","title":{"rendered":"How to configure S3 to host a static website?"},"content":{"rendered":"<p>In the present day, AWS is widely recognized by the majority of people. It is a highly secure cloud services platform that provides a range of services, including computing power, database storage, and content delivery, as well as various platform services like Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS).<!--more--><\/p>\n<p>S3 stands for Simple Storage Service, which is a cloud storage service offered by Amazon Web Services (AWS). S3 provides a highly scalable and durable object storage infrastructure, which enables individuals and organizations to store and retrieve large amounts of data and files from anywhere on the internet. S3 is designed to be highly available, secure, and accessible, making it a popular choice for storing various types of data, including backups, archives, log files, multimedia content, and big data sets. S3 also supports a range of features, such as versioning, encryption, access control, and lifecycle policies, to help users manage their data efficiently and securely.<\/p>\n<p>In this guide, I&#8217;ll be explaining the steps to host a static webpage on Amazon S3.<\/p>\n<p>To start, we&#8217;ll need to create a bucket which is essentially a folder for object storage in Amazon S3.<\/p>\n<p>Here are the steps to follow:<\/p>\n<ol>\n<li>Create a bucket with a name of your preference and select the region where you want it to be located.<\/li>\n<li>Enable static web hosting in the bucket by going to &#8220;Properties.&#8221;<\/li>\n<li>Under the &#8220;Edit static web hosting&#8221; section, select &#8220;Host a static website&#8221; and add the name of your index file (e.g., index.html, hello.html) and error file (error.html).<\/li>\n<li>Upload your index file and error file to the bucket.<\/li>\n<li>To make them publicly accessible, go to &#8220;Objects,&#8221; select the objects (index and error file), and click on &#8220;Actions&#8221; &gt;&gt; &#8220;Make them public.&#8221;<\/li>\n<\/ol>\n<p>To check your static website content, obtain the URL for your bucket from Bucket Properties, Static Website Hosting section. For example, http:\/\/yourdomain.com.s3-website.ap-south-1.amazonaws.com<br \/>\nIf you want to access the site using a domain name, you&#8217;ll need to add a CNAME record for the domain to point to the AWS bucket.<br \/>\nThat&#8217;s it! By following these steps, you&#8217;ll be able to host a static webpage on Amazon S3. To access the website with its own URL instead of the bucket URL, add a CNAME entry for the website to the S3 bucket.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the present day, AWS is widely recognized by the majority of people. It is a highly secure cloud services platform that provides a range of services, including computing power, database storage, and content delivery, as well as various platform services like Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as [&#8230;]<\/p>\n<p><a class=\"understrap-read-more-link\" href=\"https:\/\/cpanelplesk.com\/wp62\/how-to-configure-s3-to-host-a-static-website\/\">Continue Reading&#8230;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-9512","post","type-post","status-publish","format-standard","hentry","category-cpanel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to configure S3 to host a static website? - cPanel Plesk<\/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:\/\/cpanelplesk.com\/wp62\/how-to-configure-s3-to-host-a-static-website\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to configure S3 to host a static website? - cPanel Plesk\" \/>\n<meta name=\"twitter:description\" content=\"In the present day, AWS is widely recognized by the majority of people. It is a highly secure cloud services platform that provides a range of services, including computing power, database storage, and content delivery, as well as various platform services like Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as [...]Continue Reading...\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Seemab Saleem\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. 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:\/\/cpanelplesk.com\/wp62\/how-to-configure-s3-to-host-a-static-website\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-configure-s3-to-host-a-static-website\/\"},\"author\":{\"name\":\"Seemab Saleem\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648\"},\"headline\":\"How to configure S3 to host a static website?\",\"datePublished\":\"2023-04-05T07:09:11+00:00\",\"dateModified\":\"2023-04-05T07:09:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-configure-s3-to-host-a-static-website\/\"},\"wordCount\":411,\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"articleSection\":[\"Cpanel\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-configure-s3-to-host-a-static-website\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-configure-s3-to-host-a-static-website\/\",\"name\":\"How to configure S3 to host a static website? - cPanel Plesk\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\"},\"datePublished\":\"2023-04-05T07:09:11+00:00\",\"dateModified\":\"2023-04-05T07:09:11+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-configure-s3-to-host-a-static-website\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cpanelplesk.com\/wp62\/how-to-configure-s3-to-host-a-static-website\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/how-to-configure-s3-to-host-a-static-website\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cpanelplesk.com\/wp62\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to configure S3 to host a static website?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/\",\"name\":\"cPanel Plesk\",\"description\":\"Blog on famous hosting control panels\",\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\",\"name\":\"Farooq Omer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"contentUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"width\":300,\"height\":44,\"caption\":\"Farooq Omer\"},\"logo\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648\",\"name\":\"Seemab Saleem\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g\",\"caption\":\"Seemab Saleem\"},\"description\":\"Linux Server Administrator, Web Hosting engineer. I'm dealing with Linux servers since 2014. I started this blog to share the work i love with the world . let me know if you need any assistance. Thanks!!\",\"sameAs\":[\"https:\/\/cpanelplesk.com\/wp62\"],\"url\":\"https:\/\/cpanelplesk.com\/wp62\/author\/cmb\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to configure S3 to host a static website? - cPanel Plesk","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:\/\/cpanelplesk.com\/wp62\/how-to-configure-s3-to-host-a-static-website\/","twitter_card":"summary_large_image","twitter_title":"How to configure S3 to host a static website? - cPanel Plesk","twitter_description":"In the present day, AWS is widely recognized by the majority of people. It is a highly secure cloud services platform that provides a range of services, including computing power, database storage, and content delivery, as well as various platform services like Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as [...]Continue Reading...","twitter_misc":{"Written by":"Seemab Saleem","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-configure-s3-to-host-a-static-website\/#article","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-configure-s3-to-host-a-static-website\/"},"author":{"name":"Seemab Saleem","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648"},"headline":"How to configure S3 to host a static website?","datePublished":"2023-04-05T07:09:11+00:00","dateModified":"2023-04-05T07:09:11+00:00","mainEntityOfPage":{"@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-configure-s3-to-host-a-static-website\/"},"wordCount":411,"publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"articleSection":["Cpanel"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-configure-s3-to-host-a-static-website\/","url":"https:\/\/cpanelplesk.com\/wp62\/how-to-configure-s3-to-host-a-static-website\/","name":"How to configure S3 to host a static website? - cPanel Plesk","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#website"},"datePublished":"2023-04-05T07:09:11+00:00","dateModified":"2023-04-05T07:09:11+00:00","breadcrumb":{"@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-configure-s3-to-host-a-static-website\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cpanelplesk.com\/wp62\/how-to-configure-s3-to-host-a-static-website\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/cpanelplesk.com\/wp62\/how-to-configure-s3-to-host-a-static-website\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cpanelplesk.com\/wp62\/"},{"@type":"ListItem","position":2,"name":"How to configure S3 to host a static website?"}]},{"@type":"WebSite","@id":"https:\/\/cpanelplesk.com\/wp62\/#website","url":"https:\/\/cpanelplesk.com\/wp62\/","name":"cPanel Plesk","description":"Blog on famous hosting control panels","publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13","name":"Farooq Omer","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/","url":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","contentUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","width":300,"height":44,"caption":"Farooq Omer"},"logo":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/"}},{"@type":"Person","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648","name":"Seemab Saleem","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g","caption":"Seemab Saleem"},"description":"Linux Server Administrator, Web Hosting engineer. I'm dealing with Linux servers since 2014. I started this blog to share the work i love with the world . let me know if you need any assistance. Thanks!!","sameAs":["https:\/\/cpanelplesk.com\/wp62"],"url":"https:\/\/cpanelplesk.com\/wp62\/author\/cmb\/"}]}},"_links":{"self":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/9512","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/comments?post=9512"}],"version-history":[{"count":1,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/9512\/revisions"}],"predecessor-version":[{"id":9513,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/9512\/revisions\/9513"}],"wp:attachment":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/media?parent=9512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/categories?post=9512"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/tags?post=9512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}