News for hackers. Stuff that matters.
Re:Hosting a simple static site on IPFS by RX14 on Wednesday September 16, 2015 @07:16PM (#10230634)
Also - if I remember correctly - if you visit ipfs.io with the Host header set to foo.com, it will return /ipns/foo.com.
Re:Hosting a simple static site on IPFS by lgierth on Wednesday September 16, 2015 @08:02PM (#10230800)
Yes exactly, the IPFS daemon running there looks at the Host: header and uses it to build an `/ipns/<the-header>` path which it will resolve and respond accordingly.