Skip to content

How to put a template online

An HTML template is just a folder of files. Putting it online means copying that folder to a web server and pointing your domain at it. There are three common ways.

Option 1: Your web host's file manager

Most shared hosting plans include a control panel with a file manager.

  1. Zip the contents of your template folder (the files inside it, so index.html sits at the top of the zip).
  2. In your host's file manager, open the folder for your website (often called public_html).
  3. Upload the zip and use the file manager's Extract option.
  4. Visit your domain. You should see your index.html page.

If you see an error, check that index.html is directly in public_html, not inside another folder.

Option 2: FTP

Hosts also give you FTP details. A free FTP app lets you drag your files into the website folder, which is handy when you update a few files often.

Option 3: A static site host

Because templates are plain HTML, CSS and JavaScript, they work on static site hosts, which often have free plans. You usually drag your folder into their dashboard or connect a Git repository. Check each host's current plans and limits before you choose.

Connect your domain

Your domain registrar controls where your domain points. Your host tells you which nameservers or DNS records to set. Changes can take a few hours to spread.

Turn on HTTPS

Most hosts offer free SSL certificates. Turn it on so your site loads with a padlock, and forms are safer.

Forms need a back end

Contact forms in HTML templates do not send email on their own. Connect them to a form service or your host's form handler, or replace the form with an email link.

Keep reading