I'm looking to host a personal website from home. I have a good computer/software background but only a basic idea of how to properly host a site.
The goal for the web hosting is to make the site(s) public on the www.
The site is built, using PHP/MySql, and I'm familiar with how to get that to run in a "LAMP" environment, what I'm not familiar with is making it accessible to the world and the correct/safe/reliable ways to do so.
I've got a box that is running FreeNAS right now but I'd like to convert it to a Linux server flavour, I was thinking Ubuntu with the GUI so that I could still run some of the same software I have running on the FreeNAS now for the household, and have the web hosting services on it as well.
So my question(s) are as follows:
- Which server OS would do what I want, but not be too complicated for a beginner
- What additional software, or services should I install (i.e. Apache, Mysql, PHP etc...)
- What would be best practices to ensure home network security, and home server "section" security?
- Should I be running a VPN for additional security? I'm aware of the myriad of benefits of the VPN in general, I'm wondering about specifically in relation to web hosting from home.
I'm not looking for any hand holding by any means, but if anyone could point me in the right direction that would be much appreciated.