Screenshot

I was recently installing and configuring a new server. After installing CentOS I installed Apache. But server IP was not opening default Apache page. I was getting ping reply from my computer to server IP. So, I quickly figured out that Port 80 and Port 224 on server are blocked for incoming web traffic.

we need to open port 80 (http port) and port 443 (SSL / https port) for web traffic. So, here is how you can open port 80 and 443 on your server.

Syn-flood attacks are common these days. Syn-flood attack means that the attackers open a new connection to the server, but do not state what they want. They just want to take up servers resources and increase server load.

This type of attack can be controlled by adding a rule in IPTable to reject syn-flood attacks. Login to your server as root via SSH, and run following commands:read more

For security reason, you should block all incoming null packets requests to your server. All TCP requests with flag NONE to your server should be blocked. These are generally bad bots looking for security holes on your server to exploit. This can be easily done by adding a rule in IPTable / firewall.

Our Recommended VPS Hosting

For security reason, it is recommended that you disable directory listings / indexing on your server. Apache default configuration comes with this feature enabled but its always a good idea to get it disabled unless you really need it.

When this option is enabled, user can see the list of files / folder of a directory when no index file is present.

With Apache listings / indexing option disabled, user will not be able to see content of a directory in absence of a index file.