
Mastering Apache2 Virtual Hosts

Quiz
•
Computers
•
11th Grade
•
Hard
Sri Widodo
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first step in installing Apache2 on a Linux system?
Install Apache2 using the command 'sudo apt install apache2'.
Update the package index using the command 'sudo apt update'.
Download Apache2 from the official website.
Configure the firewall settings before installation.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to install Apache2 on Ubuntu?
apt-get install httpd
sudo apt install apache2
sudo install apache2
yum install apache2
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What file is typically edited to configure virtual hosts in Apache2?
000-default.conf
apache2.conf
httpd.conf
sites-available.conf
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the directory for virtualhost configuration file?
/etc/netplan
/home/user
/var/www
/etc/apache2/sites-available
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you enable a new virtual host configuration in Apache2?
Run 'apachectl reload' without enabling the site configuration.
Edit the httpd.conf file directly without using a2ensite.
Use 'a2ensite
Use 'a2dissite
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'ServerName' directive in a virtual host configuration?
To define the SSL certificate for a virtual host.
To define the hostname for a virtual host.
To set the maximum number of connections allowed.
To specify the document root for a virtual host.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you specify multiple domains for a single virtual host?
Use 'DomainName' for all domains.
Specify 'HostName' for the main domain only.
List all domains in a single 'ServerName' directive.
Use 'ServerName' for the main domain and 'ServerAlias' for additional domains.
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Instalación Ubuntu Server 24.04

Quiz
•
9th - 12th Grade
15 questions
Konfigurasi Linux Debian #1

Quiz
•
11th Grade
20 questions
Web Server

Quiz
•
11th Grade
10 questions
Cuestionario SOR

Quiz
•
1st Grade - Professio...
14 questions
Linux CMD lekcja 4

Quiz
•
9th - 12th Grade
20 questions
SOAL PTS KELAS XI TKJ

Quiz
•
3rd Grade - University
15 questions
Konfigurasi Linux Debian #2

Quiz
•
11th Grade
20 questions
Linux - podstawy

Quiz
•
6th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade