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 virtual host on a nonstandard port
From the course: Red Hat Enterprise Linux 8 Essential Training
Configure a virtual host on a nonstandard port
- [Instructor] Before you do this exercise, make sure you have completed the previous exercise which configured a basic virtual host. In this exercise, we'll create a virtual host that answers on a nonstandard port. I've chosen the port 8085 as it isn't being used for anything. Also for this exercise, you will want to be logged into rhhost1 with the terminal open. I've created a virtual host file for you and included it in the exercise files for this chapter. You'll want to copy the vhost2.com file to /etc/httpd/conf.d Once you've done that, let's take a look at it. Type in less space /etc/httpd/conf.d/vhost2.conf and hit Enter. Notice that we're specifying *:8085 on the virtual host directive. The rest is almost identical to the previous virtual host outside of the domain name change. Press q to quit. Before we get too far, we'll want to tell Apache to listen on port 8085. Type in sudo space vi space /etc/httpd/conf/httpd.conf and hit Enter. Search for listen by pressing your forward…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
Web services introduction44s
-
(Locked)
Install and configure Apache4m 47s
-
(Locked)
Manage SELinux for web services3m 22s
-
(Locked)
Configure a basic Apache web server2m 6s
-
(Locked)
Configure access control on directories2m 2s
-
(Locked)
Configure private access using basic auth7m 24s
-
(Locked)
Configure group-managed content7m 32s
-
(Locked)
Configure a virtual host5m 36s
-
(Locked)
Configure a virtual host on a nonstandard port6m 5s
-
(Locked)
Configure a secure virtual host4m 24s
-
Deploy a basic CGI application2m 24s
-
(Locked)
Generating key pairs and self-signed certificates4m 28s
-
(Locked)
Challenge: Web services private site53s
-
(Locked)
Solution: Web services private site6m 25s
-
(Locked)
Deploy a basic CGI application2m 13s
-
-
-
-
-
-