TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How to host a website out of my garage?

12 pointsby freshrap6about 10 years ago
In a recent episode of Silicon Valley, the team decided they wanted to run their own servers out of their garage instead of using managed hosting. If one wanted to do something similar, how would you? I'm assuming it's a more work than just connecting your local router up to the servers right?

9 comments

Nadyaabout 10 years ago
First things first, it depends if you care about breaching the Terms of Service of your ISP. 99% of them include a &quot;No Servers&quot; or similar clause and require you to purchase a Business Line instead of a Personal Line from them. Most of them don&#x27;t really care if it&#x27;s non-commercial but some do.<p>Relevant clauses from multiple USA ISP&#x27;s (scroll down a little) <a href="https:&#x2F;&#x2F;www.eff.org&#x2F;deeplinks&#x2F;2013&#x2F;08&#x2F;google-fiber-continues-awful-isp-tradition-banning-servers" rel="nofollow">https:&#x2F;&#x2F;www.eff.org&#x2F;deeplinks&#x2F;2013&#x2F;08&#x2F;google-fiber-continues...</a>
brandon272about 10 years ago
Aside from issues you may run into with your ISP not wanting you to run servers off of a residential connection (check your terms of use), connectivity from the outside world to your home is not going to be nearly as good as if you have a server hosted in a data center.<p>A typical data center will have multiple high-capacity backbones connecting their building to the internet which not only means better connections between your server and those connecting to it, but greater reliability and redundancy.
z3t4about 10 years ago
First check if your ISP blocks port 80. Unless your router is bridged, you need to open up the fire-wall for incoming traffic on port 80. You will most likely find this under &quot;Game &amp; Application Sharing&quot; or &quot;Port Forwarding &#x2F; Port Triggering&quot; in your router&#x27;s admin interface. Try forwarding port 80 to your work-station, install node.js and run the HTTP-server-example. Then ask a friend if he&#x2F;she can connect to your IP via the browser.<p>When you got port-80 working, you need some hardware: A cheap server and a cable to connect it to the router. An old laptop will do as server (KVM and UPS for free).<p>You also need to decide what software to run, I would go with Ubuntu server as it&#x27;s the most friendly. Create a bootable USB-stick.<p>Setup SSH so that you can access the server from your work-station&#x2F;laptop.<p>Signup to a DNS service and point a domain name to your IP.
jason_slackabout 10 years ago
I do this.<p>I have a a switch, servers plug into that. I have static IP&#x27;s. I have UPS&#x27;s and separate electrical service for this. I also have a few rack mount AC units.<p>Comcast -&gt; PfSense box -&gt; Servers. I run CentOS.<p>PS: I also watched that episode. Did you notice the cabinet with SUN x&#x27;d out?
sveissabout 10 years ago
So you <i>could</i> run services on the end of your residential xDSL or cable line. Getting multiple IP addresses from your ISP makes it easier (good luck with that!), but you could just set up port forwarding from your router. That would technically &#x27;work&#x27;, but...<p>With any volume of connections, your cheap residential router will fall over under the load. xDSL and cable are both asymmetrical, so you don&#x27;t have much upload bandwidth, and cheap ISPs frequently have &#x27;no servers&#x27; clauses in their terms of service. The reliability isn&#x27;t great, either. A business xDSL or cable service will fix the terms of service issue, and possibly get you a more reliable service, but isn&#x27;t going to do much for the upload bandwidth.<p>You could get a leased-line type connection, which these days are generally delivered as Ethernet over optical fibre or Ethernet-in-the-First-Mile, which is a VDSL-ish symmetrical service. That&#x27;s going to cost at least an order of magnitude more than cable or xDSL, and unless your garage happens to be located in a business district, you&#x27;ll probably also have to pay for them to dig up the street and extend the network to you.<p>With either of those routes, your garage won&#x27;t have redundant connections to the Internet, won&#x27;t have redundant power or cooling (does it even have cooling to begin with?), a staffed NOC, or all the other things which go with a proper datacentre.<p>Cloud and dedicated hosting is so cheap these days that for anything more than a hobby project, I wouldn&#x27;t even consider running a server from home -- and it&#x27;s very questionable, even for the hobby projects!
15155about 10 years ago
&gt; I&#x27;m assuming it&#x27;s a more work than just connecting your local router up to the servers right?<p>Not really, assuming what you are trying to do isn&#x27;t being subverted by your ISP.<p>That being said, cloud hosting is a race to the bottom in terms of cost - I wouldn&#x27;t host locally ever again.<p>Colocation is also pretty cheap (I&#x27;ve seen ~$30-40&#x2F;mo 1U w&#x2F; capped gigabit connections&#x2F;no real power constraints, locally)
davismwflabout 10 years ago
Along the Terms of Service line. Don&#x27;t forget that most ISP&#x27;s even if you have a business account can&#x2F;will limit what type of things you can do. For example, if you dream of being the next porn king site from your garage, prepare to be shutdown fairly quickly, it violates most ToS. Also, bulk email and video hosting will generally violate the ToS too.<p>Most of the clients I run into anymore that really want to host their own is because they are being told no by co-location facilities or other providers because of content or usage restrictions. The other&#x27;s are generally security concerned, but maybe don&#x27;t understand all the work and repeated work that goes into hosting a secure server&#x2F;service on the Internet, between network security, firewall rules, server patching etc.<p>Not saying don&#x27;t just make sure your reasons won&#x27;t get vetoed by the ISP.
juntoabout 10 years ago
I&#x27;d recommend a Synology NAS which gives you your own private cloud. You can install lots of different apps and platforms and has dynamic DNS support out of the box. You also get other cool NAS benefits like DNLA and a bunch of apps for iOS and Android as well (I think)
A_COMPUTERabout 10 years ago
I did this for a while, my ISP had a reasonable rate for a business connection so I had no blocked ports. The issue I ran into was uptime. There were a lot more little outages and unexplained speed issues than would have been acceptable in a datacenter.