{"id":765,"date":"2024-06-19T09:40:07","date_gmt":"2024-06-19T09:40:07","guid":{"rendered":"https:\/\/zalvis.com\/docs\/?p=765"},"modified":"2024-06-19T09:40:07","modified_gmt":"2024-06-19T09:40:07","slug":"how-to-create-an-index-page","status":"publish","type":"post","link":"https:\/\/zalvis.com\/docs\/how-to-create-an-index-page.html","title":{"rendered":"How to Create an Index Page"},"content":{"rendered":"<p>The index page, also known as a site&#8217;s main website, is the URL or local file that is automatically loaded when you start a web browser and click the browser&#8217;s &#8220;Home&#8221; button. When creating your index page, you must use one of the following names.<\/p>\n<p>index.html<br \/>\nindex.php<\/p>\n<p>Creating an index page is a useful solution to create a Website coming soon page with your email address, phone number, hours of operation, etc.<\/p>\n<p>Steps to Configure a custom index.html file<\/p>\n<ul>\n<li>Log into your Hosting cPanel.<\/li>\n<li>In the Files section, click File Manager<\/li>\n<li>Locate the current index.html file in the public_html folder and click the Edit button.<\/li>\n<li>If the index file does not exist, Click the + File button at the top of the page to create a new file.<\/li>\n<li>Type index.html in the New File Name field and click the Create new file button<\/li>\n<li>Select the newly created index.html file and click Edit.<\/li>\n<li>You can insert text, change fonts, sizes, colors, upload images, insert hyperlinks, etc. for example \u2018We are currently performing maintenance\u2019.<\/li>\n<li>Once you have created the index.html file the way you want, just click Save in the top left corner.<\/li>\n<li>Return to the browser and reload the page to view the changes you just made.<\/li>\n<\/ul>\n<p>Go visit your domain name in a browser and you should see your new page. Make sure you have the index page in your public_html directory, otherwise your site will not display correctly in the browser.<\/p>\n<p>Make sure you have the index page in your public_html directory, otherwise, your site will not be shown in the browser correctly.<\/p>\n<div class=\"igqtd69e747e7a2a2b\" >If you enjoyed this article, then you\u2019ll love Zalvis's Cloud Hosting platform. Turbocharge your website and get 24\/7 support from our veteran team. Our world-class hosting infrastructure focuses on auto-scaling, performance, and security. Let us show you the Zalvis difference! <a href=\"https:\/\/zalvis.com\/\">Check out our services.<\/a><\/div><style type=\"text\/css\">\r\n@media screen and (min-width: 1201px) {\r\n.igqtd69e747e7a2a2b {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 993px) and (max-width: 1200px) {\r\n.igqtd69e747e7a2a2b {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 769px) and (max-width: 992px) {\r\n.igqtd69e747e7a2a2b {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 768px) and (max-width: 768px) {\r\n.igqtd69e747e7a2a2b {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (max-width: 767px) {\r\n.igqtd69e747e7a2a2b {\r\ndisplay: block;\r\n}\r\n}\r\n<\/style>\r\n","protected":false},"excerpt":{"rendered":"<p>The index page, also known as a site&#8217;s main website, is the URL or local file that is automatically loaded when you start a web browser and click the browser&#8217;s &#8220;Home&#8221; button. When creating your index page, you must use one of the following names. index.html index.php Creating an index page is a useful solution [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-765","post","type-post","status-publish","format-standard","hentry","category-cpanel-hosting"],"_links":{"self":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/comments?post=765"}],"version-history":[{"count":2,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/765\/revisions"}],"predecessor-version":[{"id":767,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/765\/revisions\/767"}],"wp:attachment":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/media?parent=765"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/categories?post=765"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/tags?post=765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}