Enrolment options
We all are very familiar with Apache web server, it is a very popular web server to host your web files or your website on the web. Here are some tips & tricks which can help you to configure Apache web server on your Linux boxes
Here in this tutorial, I’ll cover some main tips to secure your web server. Before you apply these changes in your web server, you should have some basics of the Apache server.
- Document root Directory: /var/www/html or /var/www
- Main Configuration file: /etc/httpd/conf/httpd.conf (RHEL/CentOS/Fedora) and /etc/apache2/apache2.conf (Debian/Ubuntu).
- Default HTTP Port: 80 TCP
- Default HTTPS Port: 443 TCP
- Test your Configuration file settings and syntax: httpd -t
- Access Log files of Web Server: /var/log/httpd/access_log
- Error Log files of Web Server: /var/log/httpd/error_log
![](https://training.bestinet.com.my/pluginfile.php/965/course/overviewfiles/Apache.png)