
Website Hosting
If you created a file on your computer or phone you can view that file, but if you want everyone to have the chance to see that file you must give everyone access. You could open your device up to the internet and leave the device on all times, hoping your internet provider will allow it (they usually don’t, it’s in the Ts&Cs) and hope your device doesn’t crash.
And what happens if someone decides to try to hack your device and take other files or just crash the device? All this is for 1 file, what happens if you want to do something clever like a database or show multiple files or even add a domain name, so people don’t have to type in an IP address that is constantly changing?
While it is technically possible to host files, it takes time, specialised software and an internet provider that will be happy to support this.