Need card #298 · Relevance High · Status New

Technical Challenges of Self-Hosting on the Dark Web

Updated 10/3/2026, 22:17:22

Problem

Users of Tor hidden services encounter concrete technical challenges such as performance constraints (e.g., embedding assets as Base64, using inline CSS, avoiding JavaScript), security requirements (e.g., preventing XSS/CSRF), the need to add Onion-Location headers for automatic redirection, port binding and multi‑service port conflict issues, and the necessity of obtaining HTTPS certificates and enabling HTTP/2 multiplexing. Additionally, there is uncertainty about the benefit of using separate hostnames versus relative links.

Pain points

Questions to verify

Evidence

quote · @Anonymous
What I really love about Onion sites is that if they are big enough, performance engineering really becomes Tor-specific.
quote · @Anonymous
My personal website has been hosted on Tor for years. It's easy to do from your home even behind a NAT because it's an outgoing connection from your point of view (which also makes it a great way to expose local services even when you are behind a NAT and don't not have a static IP), and by design your personal IP is hidden from your visitors.
quote · @Anonymous
You probably want to add the Onion-Location header to the clearnet site so Tor Browser can automatically inform the visitor about it.
quote · @Anonymous
Besides using a separate port, I would also suggest running the hidden service on a non-127.0.0.1 bind address, just in case you ever host something else on that port and forget to disable the hidden service:> HiddenServicePort 80 127.13.37.1:8080> listen 127.13.37.1:8080;
quote · @Anonymous
A few more tips.1. If you want to improve page load speed you need to buy a HTTPS certificate so you are not limited to HTTP/1.1. Multiplexing in HTTP/2 is important for getting sites to load fast.

Disclaimer: this card is distilled by AI from community discussions as “pain point evidence”. It is a starting point for need analysis and validation, not a “validated market need”. AI has analytical limits; please open the original discussion above to manually verify before key decisions.