{"id":2404,"date":"2023-03-27T09:18:16","date_gmt":"2023-03-27T09:18:16","guid":{"rendered":"https:\/\/blog.hostinger.io\/pt\/support\/2023\/03\/27\/1583328-o-que-fazer-quando-um-site-mostra-index-of-hostinger\/"},"modified":"2025-08-27T06:05:23","modified_gmt":"2025-08-27T06:05:23","slug":"1583328-o-que-fazer-quando-um-site-mostra-index-of-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/br\/support\/1583328-o-que-fazer-quando-um-site-mostra-index-of-hostinger\/","title":{"rendered":"O Que Fazer Quando um Site Mostra &#8220;Index of \/&#8221; Hostinger"},"content":{"rendered":"<p class=\"no-margin\">Quando um site &eacute; acessado, normalmente &eacute; usando o nome de dom&iacute;nio, por exemplo. https:\/\/domain.tld e o arquivo de &iacute;ndice ser&aacute; carregado por padr&atilde;o.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">Se um arquivo <b>index.php<\/b> ou <b>index.html<\/b> n&atilde;o puder ser localizado na pasta raiz (<b>\/public_html<\/b> ), voc&ecirc; ver&aacute; um &ldquo;Index of \/&rdquo;, semelhante a este:<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container\"><img decoding=\"async\" src=\"\/br\/support\/wp-content\/uploads\/sites\/59\/2023\/03\/0e678f3f-8c22-4ff9-9148-477eeb66152b.jpg\"><\/div><p class=\"no-margin\">Voc&ecirc; tem algumas op&ccedil;&otilde;es para corrigi-lo:<\/p><ul>\n<li>\n<p class=\"no-margin\"><b>Desative a listagem de diret&oacute;rios<\/b> no painel de controle: Navegue at&eacute; a p&aacute;gina <b>&Iacute;ndice de Gerenciamento de Pastas<\/b>. No campo do diret&oacute;rio, insira a pasta <b>public_html<\/b>. No tipo de indexa&ccedil;&atilde;o, escolha <b>Sem indexa&ccedil;&atilde;o<\/b> e clique em <b>Adicionar:<\/b><\/p>\n<\/li>\n<\/ul><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/br\/support\/wp-content\/uploads\/sites\/59\/2023\/03\/03f86f2c-cf5d-43f1-8bcd-2fa62eb41e78.jpg\"><\/div><ul>\n<li>\n<p class=\"no-margin\">V&aacute; para a pasta <b>public_html<\/b> do seu dom&iacute;nio atrav&eacute;s do <b><a href=\"\/br\/support\/4548688-como-usar-o-gerenciador-de-arquivos\" target=\"_blank\" class=\"intercom-content-link\">Gerenciador de arquivos<\/a> <\/b>e verifique se o nome do arquivo de &iacute;ndice est&aacute; escrito corretamente. Pode ser <b>index.html<\/b> , <b>index.htm<\/b> ou index.php <b>. <\/b>Se nenhum desses arquivos existir, voc&ecirc; pode <b>criar um arquivo de &iacute;ndice vazio<\/b> :<\/p>\n<\/li>\n<\/ul><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/br\/support\/wp-content\/uploads\/sites\/59\/2023\/03\/b810b232-4df3-45cb-a451-6d3ab2ed4991.jpg\"><\/div><ul>\n<li>\n<p class=\"no-margin\">Se ainda n&atilde;o o fez, a melhor solu&ccedil;&atilde;o &eacute; <b><a href=\"\/br\/support\/2458059-como-criar-um-site\" target=\"_blank\" class=\"intercom-content-link\">construir um site<\/a><\/b> &#128522;<\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Alternativas para corrigir o erro &#8220;\u00cdndice de \/&#8221; em um site<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[157],"tags":[],"class_list":["post-2404","post","type-post","status-publish","format-standard","hentry","category-solucao-de-problemas-de-site"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/1583328-what-to-do-when-a-website-shows-index-of-at-hostinger\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/1583328-que-hacer-cuando-un-sitio-web-muestra-index-of-hostinger\/","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/1583328-que-faire-lorsqu-un-site-web-affiche-index-of\/","default":0},{"locale":"lt-LT","link":"https:\/\/www.hostinger.com\/lt\/support\/1583328-ka-daryti-jei-svetaineje-matoma-index-of-klaida-hostinger\/","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/br\/support\/1583328-o-que-fazer-quando-um-site-mostra-index-of-hostinger\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/br\/support\/wp-json\/wp\/v2\/posts\/2404","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/br\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/br\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/br\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/br\/support\/wp-json\/wp\/v2\/comments?post=2404"}],"version-history":[{"count":1,"href":"https:\/\/www.hostinger.com\/br\/support\/wp-json\/wp\/v2\/posts\/2404\/revisions"}],"predecessor-version":[{"id":2784,"href":"https:\/\/www.hostinger.com\/br\/support\/wp-json\/wp\/v2\/posts\/2404\/revisions\/2784"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/br\/support\/wp-json\/wp\/v2\/media?parent=2404"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/br\/support\/wp-json\/wp\/v2\/categories?post=2404"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/br\/support\/wp-json\/wp\/v2\/tags?post=2404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}