Comment on Hosting a simple static site on IPFSparentComments−RX1410yAlso - if I remember correctly - if you visit ipfs.io with the Host header set to foo.com, it will return /ipns/foo.com.−lgierth10yYes 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.
Comments
Also - if I remember correctly - if you visit ipfs.io with the Host header set to foo.com, it will return /ipns/foo.com.
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.