{"id":2047,"date":"2020-02-05T16:17:59","date_gmt":"2020-02-05T16:17:59","guid":{"rendered":"https:\/\/www.copahost.com\/blog\/?p=2047"},"modified":"2023-06-28T19:46:54","modified_gmt":"2023-06-28T19:46:54","slug":"host-a-static-site","status":"publish","type":"post","link":"https:\/\/www.copahost.com\/blog\/host-a-static-site\/","title":{"rendered":"How to Host a Static Site"},"content":{"rendered":"<p>Do you know how to host a static site? In this article, we will learn what is a static Site, your composition, what is the choices to host them and how to do that! So, let&#8217;s see it!<\/p>\n<h2>What is a Static Site?<\/h2>\n<p>A Static Site is one or more pages constructed just with client size technologies. That is, a Static Site, don&#8217;t contain dynamic content, like scripts from server or <strong><a href=\"https:\/\/www.copahost.com\/blog\/php-upload-multiple-files\/\">PHP<\/a><\/strong> files. In other words, the content of a static site is the same for all visitors. That isn&#8217;t a server-side programming language. Everything is done in the Browser!<\/p>\n<p>The Static Sites are usually constructed for contents that don&#8217;t need frequent updates.<\/p>\n<p>Currently, the mostly Static sites are constructed just with <a href=\"https:\/\/www.copahost.com\/blog\/what-is-html\/\"><strong>HTML<\/strong><\/a>, <strong>CSS<\/strong>, <strong>JavaScript<\/strong>, <strong>images<\/strong> and <strong>video<\/strong> files!<\/p>\n<h2>The Advantages and Disadvantages of a Static Site<\/h2>\n<p>A static site has some <strong>advantages<\/strong>:<\/p>\n<ul>\n<li>They are cheaper because don&#8217;t need many resources from the server.<\/li>\n<li>They don&#8217;t need any programming code or database to work.<\/li>\n<li>Because of that, they don&#8217;t have any programming code vulnerability. So, they have more security.<\/li>\n<li>They usually have more performance. This is because they need to make fewer requests to the server.<\/li>\n<\/ul>\n<p>On the other hand, they have some <strong>disadvantages<\/strong>:<\/p>\n<ul>\n<li>To update or make edits to the pages, you need to do this manually;<\/li>\n<li>their dynamic functionality is limited. <a href=\"https:\/\/www.copahost.com\/blog\/javascript-parsefloat\/\">This happens because it is necessary to add those functionalities<\/a> separately;<\/li>\n<li>They don&#8217;t have a database, which makes data processing difficult.<\/li>\n<\/ul>\n<h2>How can I host my Static Site?<\/h2>\n<p>There are different ways to host a static site<\/p>\n<p>If you don&#8217;t need any special resources, if you just like to make tests or put some pages online, you can use some platforms. One of these platforms is <a href=\"https:\/\/help.github.com\/en\/github\/working-with-github-pages\">GitHub<\/a> and <a href=\"http:\/\/gitlab.com\">GitLab<\/a>, where you can host your static site for free.<\/p>\n<p>You can use the <a href=\"https:\/\/aws.amazon.com\/s3\/?nc2=h_ql_prod_st_s3\">S3 service<\/a> of <a href=\"https:\/\/www.copahost.com\/blog\/what-is-amazon-aws\/\">Amazon AWS<\/a> (<em>Amazon Web Services<\/em>) to host your static site. Another way is with the <a href=\"https:\/\/azure.microsoft.com\/\">Microsoft Azure Storage<\/a> where you can see the <a href=\"https:\/\/docs.microsoft.com\/azure\/storage\/blobs\/storage-blob-static-website-how-to?tabs=azure-portal\">Blob<\/a> service. Also, the <a href=\"https:\/\/cloud.google.com\/storage\/docs\/hosting-static-website\">Google Cloud Platform<\/a> offers one way to host your static site too.<\/p>\n<p>You may find some ways and some services to host a static site. But, the most recommended is to obtain a <a href=\"https:\/\/www.copahost.com\/blog\/what-is-web-hosting\/\">Web Hosting<\/a> Plan!<\/p>\n<p>So, let&#8217;s see how to <a href=\"https:\/\/www.copahost.com\/blog\/google-web-hosting-price\/\">host your site on a web<\/a> Hosting Plan.<\/p>\n<h2>What do I need to host a Static Site on Web Hosting?<\/h2>\n<p>The first step to host a static site is registering a <a href=\"https:\/\/www.copahost.com\/blog\/what-is-a-domain-name\/\">Domain Name<\/a> and obtain a Web Hosting Plan of your preference.<\/p>\n<p>At <a href=\"http:\/\/www.copahost.com\">Copahost<\/a> we offer several hosting services to meet any needs you need, with quality and safety! We have the best Plans for you! And you can obtain your Domain Name with us too! Come to see our best plans!<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-2062 size-full\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/01\/01.png\" alt=\"CopaHost Plans\" width=\"898\" height=\"796\" srcset=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/01\/01.png 898w, https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/01\/01-300x266.png 300w, https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/01\/01-768x681.png 768w\" sizes=\"(max-width: 898px) 100vw, 898px\" \/><\/p>\n<p>After these steps, you will be able to upload files from your website to your Server!<\/p>\n<h2>How to Host a Static Site on my server?<\/h2>\n<p>In your server, you can put so many files. The files of your Website have to be on the directory: &#8220;<strong>public_html<\/strong>&#8220;. In some servers, this directory has the name: &#8220;<strong>www<\/strong>&#8220;. That is the root directory responsible for your website.<\/p>\n<p>Therefore, you must upload all files from the site to that directory.<\/p>\n<h3>How can I upload my site to the server?<\/h3>\n<p>You can upload your site in different ways. But, don&#8217;t forget, the principal <a href=\"https:\/\/www.copahost.com\/blog\/html-file-hosting\/\">HTML or PHP file<\/a> responsible for your homepage must have the name &#8220;<strong>index.html<\/strong>&#8221; or &#8220;<strong>index.php<\/strong>&#8221; and be located exactly in the &#8220;<strong>public_html&#8221;<\/strong> directory, not in its subdirectories.<\/p>\n<p>A way to upload your <a href=\"https:\/\/www.copahost.com\/blog\/what-is-an-ftp-site\/\">site is by an FTP<\/a> protocol. To do that, you can use an <a href=\"https:\/\/www.copahost.com\/blog\/ftp-file-transfer\/\">FTP client<\/a>, like the <a href=\"https:\/\/filezilla-project.org\/\">Fillezila<\/a>. With FTP client, you can upload your files to the server.<\/p>\n<p>Also, you can use<strong> SSH (Secure Socket Shell) <\/strong>to upload your files. But, firstly you should know if your Hosting is apted for this service. With SSH The principal difference of SSH for FTP is you can uncompress a file directly on your server. With that, you don&#8217;t have to do the unzip manually.<\/p>\n<p>A very common way to upload files to the server is through a <a href=\"https:\/\/www.copahost.com\/blog\/free-cpanel-alternatives-centos-web-panel\/\">Web Hosting Control Panel<\/a>. Some hosting <a href=\"https:\/\/www.copahost.com\/blog\/6-tips-for-a-perfect-backup-in-your-cpanel-server\/\">servers use cPanel<\/a> or DirectAdmin control panels. However, there are also those that use other panels or their own panel. Regardless, most parts of the servers allow you to upload files directly through this panel, using a <a href=\"https:\/\/www.copahost.com\/blog\/cpanel-file-manager\/\">file manager<\/a>.<\/p>\n<p>Finally, how you can see, there is so different way to host your Static site, choose the one you liked.<\/p>\n<h3>How can I upload my site in CopaHost?<\/h3>\n<p>CopaHost uses the DirectAdmin Control Panel. So, when you login, you will find a panel like this image:<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-2063 size-full\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/01\/01-1.png\" alt=\"DirectAdmin Control Panel\" width=\"767\" height=\"257\" srcset=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/01\/01-1.png 767w, https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/01\/01-1-300x101.png 300w\" sizes=\"(max-width: 767px) 100vw, 767px\" \/><\/p>\n<p>choose the menu &#8220;<strong>System Info &amp; Files<\/strong>&#8221; and nextly choose the option &#8220;<strong>File Manager<\/strong>&#8220;:<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-2064 size-full\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/01\/02.png\" alt=\"DirectAdmin Control Panel -&gt; File Manager\" width=\"767\" height=\"257\" srcset=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/01\/02.png 767w, https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/01\/02-300x101.png 300w\" sizes=\"(max-width: 767px) 100vw, 767px\" \/><\/p>\n<p>After, you should find the<strong> public_html<\/strong> directory. Click on it to go to this directory.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2065 size-full\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/01\/03.png\" alt=\"File manager -&gt; public_html\" width=\"766\" height=\"678\" srcset=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/01\/03.png 766w, https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/01\/03-300x266.png 300w\" sizes=\"(max-width: 766px) 100vw, 766px\" \/><\/p>\n<p>Here you can see your site&#8217;s files. Now, click on Upload File, and then, select or grab your site files here.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2066 size-full\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/01\/04.png\" alt=\"File Manager -&gt; Upload Files\" width=\"767\" height=\"554\" srcset=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/01\/04.png 767w, https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/01\/04-300x217.png 300w, https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/01\/04-102x75.png 102w\" sizes=\"(max-width: 767px) 100vw, 767px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2067\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/01\/11.png\" alt=\"Upload files\" width=\"736\" height=\"429\" srcset=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/01\/11.png 835w, https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/01\/11-300x175.png 300w, https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/01\/11-768x448.png 768w\" sizes=\"(max-width: 736px) 100vw, 736px\" \/><\/p>\n<p>Copahost&#8217;s control panel also allows you to edit an HTML, PHP, JS or CSS files on it, without having to upload files. For that, you should mouse hover on your file, then <a href=\"https:\/\/www.copahost.com\/blog\/cheap-web-hosting-plans\/\">choose the option<\/a> &#8220;<strong>Edit File<\/strong>&#8220;:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2132 size-full\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/01\/Sem-t\u00edtulo-3.jpg\" alt=\"Edit HTML files from file manager\" width=\"487\" height=\"571\" \/><\/p>\n<p>Now, you can edit your file in this page! To save, just click on the &#8220;<strong>save<\/strong>&#8221; button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2133 size-full\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/01\/Sem-t\u00edtulo2.jpg\" alt=\"Edit HTML Files of my static site in File Manager\" width=\"1242\" height=\"732\" \/><\/p>\n<p>The result of the above code in the browser will be as follows:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2134 size-full\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/01\/Sem-t\u00edtulo3.jpg\" alt=\"My HTML file Static Site Results\" width=\"566\" height=\"439\" \/><\/p>\n<h2>What Host is better for me?<\/h2>\n<p>Firstly, you must verify what is your needs. It is, what configurations your server must have to support your website. That depends on the size of your website, how much access should you have, what type of recourses do you need and so many things. In most cases of static sites, a <a href=\"https:\/\/www.copahost.com\/blog\/cheap-shared-hosting\/\">Shared Hosting<\/a> Simple plan is sufficient. But, for some needs, you must choose other options.<\/p>\n<p><a href=\"https:\/\/www.copahost.com\/\">CopaHost<\/a> has so many <a href=\"https:\/\/www.copahost.com\/web-hosting\">Web Hosting plans<\/a> for you! Take a look, certainly, you will find what you need!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do you know how to host a static site? In this article, we will learn what is a static Site, your composition, what is the choices to host them and how to do that! So, let&#8217;s see it! What is a Static Site? A Static Site is one or more pages constructed just with client [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":2144,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[126,150],"tags":[],"class_list":["post-2047","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hosting","category-html"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Host a Static Site - Copahost<\/title>\n<meta name=\"description\" content=\"In this article, we will learn what is a static Site, your composition, what is the choices to host them and how to do that! So, let&#039;s see it!\" \/>\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.copahost.com\/blog\/host-a-static-site\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Host a Static Site - Copahost\" \/>\n<meta property=\"og:description\" content=\"In this article, we will learn what is a static Site, your composition, what is the choices to host them and how to do that! So, let&#039;s see it!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.copahost.com\/blog\/host-a-static-site\/\" \/>\n<meta property=\"og:site_name\" content=\"Copahost\" \/>\n<meta property=\"article:published_time\" content=\"2020-02-05T16:17:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-28T19:46:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/02\/How-to-Host-HTML_PHP-Site-10.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1120\" \/>\n\t<meta property=\"og:image:height\" content=\"440\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Rafael Marques\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rafael Marques\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.copahost.com\/blog\/host-a-static-site\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/host-a-static-site\/\"},\"author\":{\"name\":\"Rafael Marques\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#\/schema\/person\/1d2394d0fe0aa6712bab970668feb112\"},\"headline\":\"How to Host a Static Site\",\"datePublished\":\"2020-02-05T16:17:59+00:00\",\"dateModified\":\"2023-06-28T19:46:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/host-a-static-site\/\"},\"wordCount\":1009,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/host-a-static-site\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/02\/How-to-Host-HTML_PHP-Site-10.png\",\"articleSection\":[\"Hosting\",\"HTML\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.copahost.com\/blog\/host-a-static-site\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.copahost.com\/blog\/host-a-static-site\/\",\"url\":\"https:\/\/www.copahost.com\/blog\/host-a-static-site\/\",\"name\":\"How to Host a Static Site - Copahost\",\"isPartOf\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/host-a-static-site\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/host-a-static-site\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/02\/How-to-Host-HTML_PHP-Site-10.png\",\"datePublished\":\"2020-02-05T16:17:59+00:00\",\"dateModified\":\"2023-06-28T19:46:54+00:00\",\"description\":\"In this article, we will learn what is a static Site, your composition, what is the choices to host them and how to do that! So, let's see it!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/host-a-static-site\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.copahost.com\/blog\/host-a-static-site\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.copahost.com\/blog\/host-a-static-site\/#primaryimage\",\"url\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/02\/How-to-Host-HTML_PHP-Site-10.png\",\"contentUrl\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/02\/How-to-Host-HTML_PHP-Site-10.png\",\"width\":1120,\"height\":440,\"caption\":\"How to Host a Static Site\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.copahost.com\/blog\/host-a-static-site\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.copahost.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Host a Static Site\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#website\",\"url\":\"https:\/\/www.copahost.com\/blog\/\",\"name\":\"Copahost\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.copahost.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#organization\",\"name\":\"Copahost\",\"url\":\"https:\/\/www.copahost.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/03\/copahostlogo.png\",\"contentUrl\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/03\/copahostlogo.png\",\"width\":223,\"height\":40,\"caption\":\"Copahost\"},\"image\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#\/schema\/person\/1d2394d0fe0aa6712bab970668feb112\",\"name\":\"Rafael Marques\",\"description\":\"Brazilian Web Developer and Writer!\",\"sameAs\":[\"https:\/\/ialife.com.br\/\",\"https:\/\/www.instagram.com\/rafamarquesrmb\/\",\"https:\/\/www.linkedin.com\/in\/rafamarquesrmb\/\"],\"url\":\"https:\/\/www.copahost.com\/blog\/author\/rafael\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Host a Static Site - Copahost","description":"In this article, we will learn what is a static Site, your composition, what is the choices to host them and how to do that! So, let's see it!","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.copahost.com\/blog\/host-a-static-site\/","og_locale":"en_US","og_type":"article","og_title":"How to Host a Static Site - Copahost","og_description":"In this article, we will learn what is a static Site, your composition, what is the choices to host them and how to do that! So, let's see it!","og_url":"https:\/\/www.copahost.com\/blog\/host-a-static-site\/","og_site_name":"Copahost","article_published_time":"2020-02-05T16:17:59+00:00","article_modified_time":"2023-06-28T19:46:54+00:00","og_image":[{"width":1120,"height":440,"url":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/02\/How-to-Host-HTML_PHP-Site-10.png","type":"image\/png"}],"author":"Rafael Marques","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Rafael Marques","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.copahost.com\/blog\/host-a-static-site\/#article","isPartOf":{"@id":"https:\/\/www.copahost.com\/blog\/host-a-static-site\/"},"author":{"name":"Rafael Marques","@id":"https:\/\/www.copahost.com\/blog\/#\/schema\/person\/1d2394d0fe0aa6712bab970668feb112"},"headline":"How to Host a Static Site","datePublished":"2020-02-05T16:17:59+00:00","dateModified":"2023-06-28T19:46:54+00:00","mainEntityOfPage":{"@id":"https:\/\/www.copahost.com\/blog\/host-a-static-site\/"},"wordCount":1009,"commentCount":0,"publisher":{"@id":"https:\/\/www.copahost.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.copahost.com\/blog\/host-a-static-site\/#primaryimage"},"thumbnailUrl":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/02\/How-to-Host-HTML_PHP-Site-10.png","articleSection":["Hosting","HTML"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.copahost.com\/blog\/host-a-static-site\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.copahost.com\/blog\/host-a-static-site\/","url":"https:\/\/www.copahost.com\/blog\/host-a-static-site\/","name":"How to Host a Static Site - Copahost","isPartOf":{"@id":"https:\/\/www.copahost.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.copahost.com\/blog\/host-a-static-site\/#primaryimage"},"image":{"@id":"https:\/\/www.copahost.com\/blog\/host-a-static-site\/#primaryimage"},"thumbnailUrl":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/02\/How-to-Host-HTML_PHP-Site-10.png","datePublished":"2020-02-05T16:17:59+00:00","dateModified":"2023-06-28T19:46:54+00:00","description":"In this article, we will learn what is a static Site, your composition, what is the choices to host them and how to do that! So, let's see it!","breadcrumb":{"@id":"https:\/\/www.copahost.com\/blog\/host-a-static-site\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.copahost.com\/blog\/host-a-static-site\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.copahost.com\/blog\/host-a-static-site\/#primaryimage","url":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/02\/How-to-Host-HTML_PHP-Site-10.png","contentUrl":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2020\/02\/How-to-Host-HTML_PHP-Site-10.png","width":1120,"height":440,"caption":"How to Host a Static Site"},{"@type":"BreadcrumbList","@id":"https:\/\/www.copahost.com\/blog\/host-a-static-site\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.copahost.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Host a Static Site"}]},{"@type":"WebSite","@id":"https:\/\/www.copahost.com\/blog\/#website","url":"https:\/\/www.copahost.com\/blog\/","name":"Copahost","description":"","publisher":{"@id":"https:\/\/www.copahost.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.copahost.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.copahost.com\/blog\/#organization","name":"Copahost","url":"https:\/\/www.copahost.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.copahost.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/03\/copahostlogo.png","contentUrl":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/03\/copahostlogo.png","width":223,"height":40,"caption":"Copahost"},"image":{"@id":"https:\/\/www.copahost.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.copahost.com\/blog\/#\/schema\/person\/1d2394d0fe0aa6712bab970668feb112","name":"Rafael Marques","description":"Brazilian Web Developer and Writer!","sameAs":["https:\/\/ialife.com.br\/","https:\/\/www.instagram.com\/rafamarquesrmb\/","https:\/\/www.linkedin.com\/in\/rafamarquesrmb\/"],"url":"https:\/\/www.copahost.com\/blog\/author\/rafael\/"}]}},"_links":{"self":[{"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/posts\/2047","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/comments?post=2047"}],"version-history":[{"count":14,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/posts\/2047\/revisions"}],"predecessor-version":[{"id":3252,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/posts\/2047\/revisions\/3252"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/media\/2144"}],"wp:attachment":[{"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/media?parent=2047"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/categories?post=2047"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/tags?post=2047"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}