How to host a single HTML page in Netlify?

Viewed 5807

I want to host a website online. Mine is a simple html file with some external CSS and javascript. Could you please let me know how can I host this HTML page as a website in Netlify? As Netlify suggest I tried providing relevant GITHUB links, but still this gives me Page not found error because of incorrect link Do I have any other free hosting sites where I can get this done?

2 Answers

Netlify is a good solution for host static files, but it need a git repository.

Because you can't touch into Netlify server to upload your file, Netlify is not your own VPS.

That's why everything you need is:

  • Create a git repository (github/gitlab/etc)
  • Connect that repository to Netlify.
  • Deploy

That's all!

Related