From the course: Red Hat Enterprise Linux 8 Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Configure a basic Apache web server

Configure a basic Apache web server

From the course: Red Hat Enterprise Linux 8 Essential Training

Start my 1-month free trial

Configure a basic Apache web server

- [Instructor] In order to configure a basic web server, you need to already have done the following. Apache needs to be installed. You need to comment out all lines in the welcome.com file and restart the Apache service so the new configuration is loaded and lastly the DNS name rh host one dot local net.com needs to resolve to your rh host one VMs IP address. These things were covered in the installation video in the previous chapter. Once you've done these things, log into your rh host one VM and open a terminal. We'll start by checking the Apache configuration file for the web document route. Type in grip space caret document route with capital D and a capital R, space slash etc slash httpd slash conf slash httpd dot conf and hit enter. This shows that the web document Ru is slash var slash www slash HTML. Also let's check the allowed director index files bring your line back and…

Contents