Create a web page on Apache Virtual Host
Fix a site with an Apache Virtual Host. You get to configure a Named Apache Virtual Host and make a small web page that will be hosted by your own web server.
#Prerequisites
Du har jobbat igenom guiden “Install web pages with Apache Name-based Virtual Hosts”.
#Introduction
The files you create and use in this task should be saved in your course repo in the directory me/kmom01/vhost. They are used to report the task.
Create a file, log.txt, and place it in the directory above.
For introductions to HTML and CSS look at Mozilla Developer Networks introductions for Introduction to HTML and Learn to style HTML using CSS.
#Requirements
Copy all files from the
example/reportfolder tome/report. Enter the command you use in the log (log.txt).If you want to earn extra credits adapt
me.htmlandabout.htmlwith both additional HTML and CSS.Create an Apache Virtual Host
me.linux.se. Save a copy of the config fileme.linux.se.confin your course repo.Copy all files and directories from
me/reportto the webroot ofme.linux.se/. Enter the command you use in the log (log.txt).Make sure you can access the site with your browser on your local development computer through port forwarding.
Open a terminal in your VirtualBox, use
lynxto open your newly created website. Enter the command you use in the log (log.txt).Take a screenshot of the terminal that shows when using
lynxto access the site. Save it asdump.png. Save the image in .png format and use lower case letters in the file name.Publish your answers as follows.
# Ställ dig i kurskatalogen
dbwebb publish kmom01
Correct any errors that pop up and publish again. When it looks green you are done.
#Revision history
- 2019-08-19: (A, lew) Uppdatering inför HT19.

