# Publishing static site to regular web hosting

**URL:** <https://forum.pinegrow.com/t/publishing-static-site-to-regular-web-hosting/9850>\
**Category:** Beginners\
**Created:** [October 5, 2024, 4:53pm UTC](https://forum.pinegrow.com/t/publishing-static-site-to-regular-web-hosting/9850 "2024-10-05T16:53:40Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![TechAkayy](https://avatars.discourse-cdn.com/v4/letter/t/ce73a5/32.png) [@TechAkayy](https://forum.pinegrow.com/u/TechAkayy)\
**Post date:** [October 7, 2024, 7:34am UTC](https://forum.pinegrow.com/t/publishing-static-site-to-regular-web-hosting/9850/4 "2024-10-07T07:34:01Z")

</div>

Adding a .gitignore (if doing automated deployment) will help a lot as it’s relied upon everywhere especially when it comes to hosting.

You could refer to this thread to decide on which ones you want to exclude - [What should we include in our .gitignore file?](https://forum.pinegrow.com/t/what-should-we-include-in-our-gitignore-file/6713).

There is also a `project.pgml` file in the root of your project (when using Design panel) that you could exclude.

With regards to home page, its best to rename your current one into `index.html` which again is a widely adopted convention. If not, then each hosting provider generally let you choose it as your homepage, through configurations in their UI, or through a config file, for eg, `netlify.toml` or `vercel.json` added to your project root.

Also, right-click on your project root in File Panel and choose `Publish` and you can preview your site netlify (free).

---

_[View the full topic](https://forum.pinegrow.com/t/publishing-static-site-to-regular-web-hosting/9850)._
