Yes, you can organize a website on your computer system. Yet there are a few important points I should mention:
Linux is not the only OS you could use to organize a site (although it is the most preferred). Any computer system (Windows, Mac, or Linux) could hold an internet site. All you need is code compatible keeping that running system, and to reveal the port your site is on
You’ll require an always-on computer system. This implies your laptop computer (and also probably desktop) won’t be good enough. You can find an old, cheap computer, put it in the storage room, as well as keep it on whatsoever times to organize your site
For users outside of your network to reach it, you need to ahead port 80 on your router to the web server. This normally isn’t suggested for house networks, so ensure you understand what you’re doing.
This may violate your ISP’s regards to company. If you start to get remarkable web traffic to the website, your ISP may drop you or take legal action. Non-business net solution almost always prohibits this.
You’ll should make use of a dynamic IP service. The IP address appointed to your house changes periodically, which is done by the ISP to shield you (essentially). Dynamic IP dealing with is less of a safety and security threat (harder to track you, more challenging to strike a user, etc). To assign a LINK to your IP, there are services available that track your IP and also dynamically upgrade DNS, like DynDNS.
You’ll get struck constantly. Currently, these “attacks” aren’t typically very hard to resist because they’re simply scripts searching for weak servers. If you enable SSH on port 22 you’ll see hundreds of attempts to visit from web servers in China. So make sure you have a standard understanding of firewall softwares and protection.