13,420
edits
Changes
→Install, Configure & Run a Webserver (Apache)
#Open a web-browser in your '''host''' machine and enter the following URL: '''vm1.youruserid.org'''.<br />If you setup your Apache webserver correctly, you should be able to view the Apache Test page.
#Although we will not be exploring webservers in depth, we will have you create a simple webpage for testing purposes, then later setup a web resource for webmail.
#The term '''DocumentRoot''' specifies where the Apache webserver will search for documents to serve. Create the file '''index.html''' in your '''DocumentRoot''' directory with the following contents (replace the date with the current one):<br><br><source>Hello, this is a web page on vm1.yourid.org and the current time is Mar 28 22:16:27 EDT 2016!</source>
<ol><li value="9">If you refresh your web-browser page in your browser, you should see the contents of your ''index.html'' document. If you wish, you can specify the filename index.html in the address, but it is not necessary, since the file index.html is automatically loaded by default when the URL refers to that directory containing that file.</li></ol>