Yeah well 95$ is cheap for a dedicated server. And Samuraid, I will be needing your help.. A LOT.
I know how to install mySQL and PHP and apache. But how do I configure my domains and setup mailsystem? FTP etc..
And how do I make it safe?
Well, the easiest way to do things is to just get CPanel installed on the server. CPanel/WHM will take care of most things for you automatically, especially the mail server setup and adding new domains. You can just use the graphical web interface to do most things, and CPanel will automatically install and configure most of the server software for you. (It's definitely worth paying $20-$25 a month for CPanel)
Get CentOS 4.x as your operating system by the way; it is one of the best choices for a server these days.
If you don't have any control panel software, you'll need to edit the Apache configuration file by hand (httpd.conf) and add the domain configuration information manually. Additionally, without a control panel, you also need to configure the DNS (bind/named) by editing named.conf. This can take a while and it's pretty hard to describe in a single forum post. If you want to do it this way though, I'll still help with whatever you need.
Securing the server also takes some time, but a few general things will make the job easier:
- make sure you have a good software firewall in place and make sure you block all ports except the ones you need. You'll need to allow 21 (FTP), 22 (SFTP/SSH), 25 (Mail), 53 (DNS), 80 (HTTP) at least, and you may want 443 (HTTPS/SSL) as well and a few others. (CentOS and RedHat Enterprise Linux often come with a software firewall preinstalled that you simply need to configure)
- Don't host any other sites on the server, unless you ABSOLUTELY trust the people running the other sites to keep their code and passwords PERFECTLY secure. If you are the only one using the server to host, things are just a lot safer, and you have to worry less about security.
- Don't use Telnet or FTP. They are insecure and unencrypted. Use SSH and Secure FTP instead.
I hope this helps.
Have you decided on which server to get?