Skip to content
Linux & Systems · IDE

Apache httpd

Configure a web server, with VS Code inside the lab.
  • 20 Dcoins / hour
  • standard machine
  • ready in about 10 seconds
  • web
  • devops
  • development

About Apache httpd

The Apache HTTP Server lab is web-server fundamentals on the real thing: Apache httpd 2.4 serving a document root you can edit, with VS Code in the browser available beside it. Change a page, reload, and see the result.

From there the exercises are the ones every web administrator meets. Read the main configuration and see how modules are loaded, add a virtual host, set up a redirect and a custom error page, protect a directory, and look at the access and error logs to work out what happened to a request that failed. Response headers, caching and compression can all be checked with curl from the same machine.

It suits web technology and system administration courses, and it is a useful comparison with the Tomcat lab: one serves files and proxies to applications, the other runs Java applications itself.

What is installed

  • Editable document root
  • Full Apache config access
  • Module configuration
  • Graceful reloads

What it is good for

  • Web-server fundamentals
  • Static site hosting
  • Virtual hosts practice
  • DevOps skills track

What it costs

20 Dcoins an hour while it runs (a standard machine), billed by the minute. Included on Pro and Power. Every new account starts with free Dcoins.

From Start to a working Apache httpd takes about 10 seconds, measured on our lab server. If the server is asleep, waking it first adds a minute or two.

Courses that practise this

Similar labs