Host your HTML website on your own domain
Built a site by hand, exported one from a design tool, or written your first page in a text editor? Upload the files, point your domain, and it’s online with HTTPS. It’s £0.99 a month.
- £0.99 a month, flat
- No setup fee
- No VAT or card fees
- Bring your own domain
The simplest kind of website
An HTML site is just files: index.html, a stylesheet, some images and maybe some JavaScript. It loads fast, there’s nothing to update, and very little can go wrong. Hosting one needs three things: somewhere to put the files, a domain pointing at them, and an SSL certificate for the padlock. Traxio gives you all three, plus email on the same domain.
How the files are organised
Everything your visitors can see goes in the public_html folder. A small site usually looks like this:
public_html/
├── index.html ← the home page (must be called index.html)
├── about.html
├── contact.html
├── css/
│ └── style.css
├── js/
│ └── main.js
└── images/
├── logo.svg
└── team.jpg- index.html is what loads when someone visits yourname.co.uk. Other pages load at yourname.co.uk/about.html.
- Link with relative paths, such as
<link rel="stylesheet" href="css/style.css">and<img src="images/team.jpg" alt="Our team">, so the site works the same on your computer and on the server. - Names are case-sensitive on the server.
Team.JPGandteam.jpgare different files. Use lowercase and hyphens, and you’ll never hit this. - A folder with its own index.html gives you tidy addresses: put a page in
services/index.htmland it loads at yourname.co.uk/services/.
More detail: what public_html is for.
A complete page to start from
Every HTML page needs the same few lines around its content. This is a small but complete, phone-friendly page:
<!doctype html>
<html lang="en-GB">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Sam’s Bakes – Cakes in Leeds</title>
<meta name="description" content="Home-made cakes, collected or delivered in Leeds.">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<header>
<h1>Sam’s Bakes</h1>
</header>
<main>
<p>Home-made cakes, collected or delivered in Leeds.</p>
<p><a href="mailto:hello@example.com">Email to order</a></p>
</main>
<script src="js/main.js" defer></script>
</body>
</html>The viewport line makes it display properly on phones. The title and description are what search engines show. Try editing it live in the HTML preview, or start from one of the free starter templates instead.
Publish an HTML website in seven steps
- Make your index.html. Copy the page above into a plain-text editor (Notepad, TextEdit in plain-text mode, or VS Code) and save it as
index.html. Putstyle.cssand animagesfolder beside it. Or download a free starter template. - Check it on your computer. Double-click
index.htmland it opens in your browser. Fix anything that looks wrong before you upload. - Get started. Your DirectAdmin logins arrive by email. Log in for the first time.
- Connect your domain. At your registrar, change the nameservers to the three Traxio gives you. It usually works within a few hours. Connect your domain.
- Upload the files. In DirectAdmin, open File Manager, go into
public_html, delete the defaultindex.html, then upload your files (or one zip and extract it). Upload with File Manager. - Turn on SSL. A free Let’s Encrypt certificate is issued once the domain points here. Then make every visit use https://. Enable HTTPS.
- View the finished site. Visit https://yourname.co.uk on your computer and your phone. Seeing an old version? Hold Shift and refresh. Then work through the launch checklist.
Upload it three ways
- In your browser. Zip your site, upload the zip in DirectAdmin’s File Manager and extract it into
public_html. Delete the defaultindex.htmlplaceholder first. Upload a website, step by step. - With FTP or SFTP. Connect FileZilla and drag your folder across. SFTP is encrypted, so prefer it. Set up SFTP.
- With Git. Push over SSH and pull into
public_html, or build with a static site generator and upload the output. Git deployment and deploy a static site.
Want to check the site before your domain points here? Preview a site before DNS changes.
Never made a web page?
The create your first website from scratch tutorial takes you from an empty folder to a published page with your own styles, without installing any software. It’s the best way to understand what every other kind of website is built on. When you’re ready to go further, learning web development maps out the next steps.
Landing pages and one-page sites
A landing page for a product, an event or a campaign is usually a single index.html. It’s the fastest kind of page there is, because there’s no database to ask. Upload it to the main domain, or to a subdomain such as launch.yourname.co.uk so it doesn’t disturb your main site: create a subdomain.
HTML or WordPress?
| Plain HTML | WordPress | |
|---|---|---|
| Editing | In a text editor, then upload | In your browser, no files to handle |
| Speed | As fast as it gets | Fast with caching |
| Maintenance | Almost none | Updates every few weeks |
| Security risk | Very low: nothing runs on the server | Low if kept updated |
| Best for | A few pages that rarely change | Sites you update often, blogs, shops |
You can start with HTML and move to WordPress later, or run both: WordPress on the main domain and an HTML landing page on a subdomain. WordPress hosting.
Should a static site use genuinely free hosting instead?
Possibly, and it’s worth saying so. GitHub Pages, Cloudflare Pages, Netlify and Vercel host static sites for free and are excellent at it, particularly if you already use Git. Read their limits first: GitHub Pages isn’t meant for online businesses or e-commerce, Vercel’s free Hobby plan is for non-commercial use only, and Netlify’s free plan has a monthly credit allowance.
Traxio makes more sense when you want:
- to upload files in a browser without learning Git;
- email on the same domain, such as hello@yourname.co.uk;
- a contact form that actually sends, using PHP;
- a business site without worrying about non-commercial terms;
- room to add PHP, a database or WordPress later without moving host.
HTML tutorials
- Create your first website from scratchBuild a simple website by hand with HTML and CSS, then put it online on your own domain. No software to install and no experience needed.
- Upload a website you’ve builtPut an HTML or PHP website online by uploading it as a zip, extracting it into public_html and checking every page loads.
- Connect your domain to TraxioPoint your domain at Traxio by changing its nameservers, then confirm the change has worked.
- How to set up SSL and make your site secure with HTTPSConfirm your free SSL certificate has issued, redirect all visitors to HTTPS, and clear up mixed content warnings.
- Set up SFTP and manage your site from your computerConfigure FileZilla for SFTP, save the connection, and use folder comparison to upload only what’s changed.
- How to upload a website using FTP or SFTP with FileZillaSet up FileZilla to connect to your Traxio hosting over SFTP or FTP with TLS, save the connection, and transfer files safely.
HTML hosting questions
Where do my files go?
Into the public_html folder for your domain. Your home page must be called index.html. What is public_html?
Why do I see a default page instead of my site?
Usually because the default placeholder file is still there, or your home page isn’t named index.html. Why do I see a default page?
Can I add a contact form to an HTML site?
Yes, with a small PHP script, because PHP is included. Send it through a mailbox on your domain so messages arrive, and add a simple spam check such as a hidden field. Until then, a mailto: link works reliably.
Can I use JavaScript frameworks such as React or Vue?
Yes, if they build to static files. Run the build on your computer and upload the output folder (often called dist or build). Server-side Node.js apps are a different thing: Node.js and Python support.
Is HTML hosting free?
Hosting is £0.99 a month. You’ll need a domain you already own.
How much space does an HTML site use?
Very little: often a few megabytes, mostly images. Estimate yours.
Related pages
- What would you like to put online?Websites, forums, blogs, HTML projects, WordPress, shops and portfolios: see what you can build on one £0.99 a month hosting service.
- Free themes that stay fast on a small planFree WordPress themes, HTML templates and forum themes picked for light weight, so they stay fast on small hosting plans. No affiliate links.
- PHP and MySQL hosting with the tools you’d expectCheap PHP and MySQL hosting: PHP 7.4–8.4 per domain, a MySQL database, phpMyAdmin, cron, SSH and Git on your own domain. £0.99 a month.
Get online for 99p a month.
Straightforward web hosting with simple pricing, no setup fee and the same price next year.
- £0.99 a month
- No setup fee
- No hidden fees
- Cancel any time