How to host a website from your own computer

· Guides

You don't need a hosting company to have a website. The computer you already own can serve it. The hard part has always been the network: your home router hides your computer from the internet, your address changes, and opening ports is fiddly and risky. This guide shows the simple way round all of that.

Why it used to be hard

The classic way to host a site at home is to run a web server, open a port on your router (port forwarding), find your public IP address, and set up dynamic DNS because that address keeps changing. Many internet providers also put customers behind shared addresses (CGNAT), where port forwarding is not possible at all.

Tunnel services work around this by sending your traffic through their servers. That works, but every visit then passes through someone else's machine.

The simple way: Link Node

Link Node is a small free app that turns one folder on your computer into a website at a permanent address like https://58310427.mdoc.us. Visitors connect straight to your computer over an encrypted peer-to-peer link, the same technology browsers use for video calls. There is no port forwarding to set up, no account to create, and nothing is uploaded anywhere.

  1. Download Link Node from link.us for Windows, Mac or Linux and open it. There is no installer. Windows may show a warning the first time; on a Mac, you allow it once in Settings: on Windows choose More info → Run anyway; on a Mac choose Done, then System Settings → Privacy & Security → Open Anyway.
  2. Put your site in the public folder. Link Node creates ~/Link/public (your home folder, then Link, then public). index.html is the homepage. Any plain HTML, CSS, images and JavaScript work, as on any static host.
  3. Check it in the local preview at http://localhost:7465/.
  4. Turn on publishing in the settings window. Your site is now online at the address shown there. Turn it off any time and it is gone.

No website yet? Ask an AI agent such as Claude Code or Codex to make one in that folder: Link Node leaves instructions there for it. See Let your AI agent build and publish your website.

What to know before you start

Your site, on your terms

Hosting from your own computer means your files stay with you: delete a file and it is gone from the web. There is no copy of your live site on anyone's server, and the desktop app keeps a record of recent visits on your computer only. It is a good fit for a personal homepage, a portfolio, a page for a club or a small shop, or sharing a few files with friends.

Try it: Link Node is free, with no account. Download it for Windows, Mac or Linux, or run the open-source command-line node on a Raspberry Pi.

Download Link Node