Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Cloud
Google Cloud Platform icon
Labs

Web Services: Creating a Web Server with Nginx

Installing and managing services is one of the first things a Linux Server Administrator should learn. The standard example of a web service is a "LAMP stack" - Linux, Apache, MySQL, PHP. While Apache is, for many administrators, the web service to use, there are use cases for using another one - Nginx. For many installations, the two web services are interchangeable. In this lab, you'll be able to practice installing and configuring Nginx.

Google Cloud Platform icon
Lab platform
Lab Info
Level
Beginner
Last updated
Sep 23, 2025
Duration
15m

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
Table of Contents
  1. Challenge

    Install and Configure Nginx so that the web root is set as instructed
    1. First, we need to install the software. Since that can only be done as the root user, elevate to root.
    2. Now we need to install the nginx software using yum.
    3. Now we've been directed to use a specific DocumentRoot. In the file, search for DocumentRoot to find the default. Since it differs from what we're being instructed to use, change it, and the subsequent Directory stanzas. Don't forget that there are two of them.
  2. Challenge

    Test the configuration, ensuring pages are served from /opt/website
    1. Make sure the service is using the configuration file you just edited by restarting it.
    2. Verify that the page looks different from the default. You could do that either using curl in the terminal, or by putting your external IP address into your web browser.
    3. If you see the DadCorp website, you've completed that lab correctly! Well done!
About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

Real skill practice before real-world application

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight