Explain steps to secure web server?

6 steps to secure your server

  1. Review your server status. Following a regular and routine monitoring process can catch a problem before it snowballs.
  2. Automate your security updates. Most vulnerabilities have a zero-day status.
  3. Set up perimeter security with firewalls.
  4. Security tools.
  5. Remove unnecessary services.
  6. Permissions.

Follow the following steps to secure your web server:

  • Update ownership of file.
  • Keep your webserver updated.
  • Disable extra modules in the webserver.
  • Delete default scripts.