There is a way to do this with bitcoin but it requires combination of two technologies: Bitcoin's scripting language (specifically OP_Return) and Torrent network. This method does not need any servers or domains. The general idea is this:
1. You build your website, it can be a simple "Hello world" page to a complex e-commerce website with user registration,...
2. Make a torrent out of it and get its 20 byte hash (this is simply the hash that you insert in utorrent to download the torrent file)
3. Create a bitcoin address that will belong to your website. Send a transaction to this address and include the hash from previous step in its output with an OP_Return.
4. Now everyone who wants to visit your website has to look at that address, they simply check its last transaction and extract its OP_Return output to get the new hash. Then they download the website using that hash via torrent network by using something like
webtorrent.
Ref:
https://github.com/elendirx/web2web