- Joined
- Apr 19, 2016
- Messages
- 36
- Points
- 0
Running a website is easy when your host does everything for you. In such cases, your only worry is to make your website / service profitable. But as you get into unmanaged servers, you will have to deal with the extra burden of setting up your hosting. This include installing various modules for proper working of your web service, adding components to maintain your hosting set up and using tools to take back ups and logging.
Everything seems simple when you refer to guides available on internet and go ahead adding features and modules to your hosting set up. But the problem is there are a lot of trouble makers available on internet arena. They hack / disrupt service just to prove a point, make money or just for fun. Securing your server is the most important aspect of managing your server. Of course you can give it all to the hosting staff. But a managed server does not comes cheap. It will dig a big hole in yor pocket.
The basic idea of securing your server involves installing a firewall to secure unused ports available. There are few reliable options in case of firewalls namely IPTables, Uncomplicated Firewall ( UFW ), NFTables, IP6Tables etc. It is always advisable to use tried and tested methods to secure your firewall.
Another mode of securing is by using a strong password for your SSH logins. An alternative method is to use a SSH-Key to add improved security while using SSH. This has to be dealt in two parts, a public key and a private key. The public key is added to the server and it allows access only after verifying your private key.
Also, make use of services like fail2ban to ban malicious IP s which try to harm through continuos failed logins and similar malicious practices.
Do you think you can manage your hosting on your own ?