A one-page website is a single HTML file. If you run a small business, that can be all you need: your name, what you do, a few photos, hours and a way to get in touch. Here is how to edit one and put it online without paying for a site builder.
1. Open the file in a browser
Double-click the .html file and it opens in your browser. That is the whole site. Nothing to install.
2. Edit the text
Open the same file in any text editor (Notepad, TextEdit, VS Code). Find your business name, phone number, address and opening hours and replace them with your own. Save, then refresh the browser tab to see the change.
3. Swap the images
Put your own photos in the same folder and change the file names in the <img> tags to match. Keep photos reasonably small so the page loads fast on a phone.
4. Put it online for free
A few free options that host static pages:
- GitHub Pages: upload the file to a repository and turn on Pages in the settings.
- Netlify Drop: drag the folder onto the page and it gives you a link.
- Cloudflare Pages: direct upload of a folder.
Rename your main file to index.html first so the host loads it as the home page.
5. Add your own domain (optional)
If you want yourbusiness.com instead of a free address, buy a domain from any registrar and point it at your host. Each host above has a short guide for this.
Want a starting point?
I make one-page HTML templates for small businesses (barbershops, salons, cafes, trades and more). There is a free barbershop one you can download and try the steps above on: https://payhip.com/b/ITmMh
The rest of the packs are at https://sitekitstudio.gumroad.com
Top comments (0)