Hosting
BitBucket logo     GitLab logo   Fleek logo   Netlify logo   surge.sh logo

To host a website made with Nift just copy everything from the output directory (not the project directory) to the server on which you would like to host it.

There are specific instructions at the following links for:

For creating static websites on code collaboration sites offering repository management like Amazon CodeCommit, BitBucket, GitHub and GitLab you can import/fork, rename and clone a site repository template and work from that (use nsm clone repository-url). I personally find hosting on GitLab easier than BitBucket or GitHub, because you only need one branch (standard master, though you can use one branch on BitBucket and GitHub when hosting with places like Vercel or Netlify as well) then have it deploy the site when you push using a .gitlab-ci.yaml file.

There is a variety of site repository templates here, including Evie from unDraw and a whole range of HTML5 UP templates.

Note - You can rename a repository when importing it, rather than forking and renaming, plus on BitBucket and GitHub you cannot remove fork relationships. Also on GitHub you will need to go in to the site repository's settings, find the GitHub Pages section and set the source to master branch (there may be some delay before your website goes live).

A lot of static website hosts automatically renew Let's Encrypt certificates for your websites.

Other good free hosting options for static sites include:

Amazon AWS logo Google Firebase logo

If you would like to set up your own site repositories from scratch for any of BitBucket, GitHub or GitLab then see:

To host dynamic websites for free check out Heroku. Other options for hosting dynamic websites (or even static sites) include hiring a server with somewhere like:

or any site that offers linux VPS hiring, then using something like the following to set up a web server on the server you have hired:

NGINX logo