I am not even sure if this is the right place to ask this but here goes: I am thinking of running my own small website from a home server. I have been using Ubuntu 12.04 with xampp as my server machine but from what I hear Xampp isn't secure enough to be used in production. Is this correct? if not what should I be aiming for? if so how do I secure it as much as possible anything I need to check? I need PHP and MySQL on the server. Thanks in advance,
You are using an Ubuntu machine and there for it comes with it's own LAMP stack. Just type in
(Also yes, Apache Fiends XAMPP is insecure, usually outdated, and doesn't update as nicely as apt)
Your concern is the security of your XAMPP or LAMP server. Probably the best option for you is to rent a VPS instead of hosting it yourself.
Why use a VPS
24/7 onsite staff
The VPS has already set in security measures
Cheaper than hosting it at home
A nice internet connection
Will not effect your home network
Why not to use a VPS
You need more space and ram than is affordable in a VPS
You need a faster connection
Fill in the rest...