Task Requirements:
- NGINX Installation and Configuration
- Install the NGINX web server and ensure it is running.
- Configure NGINX to serve a custom HTML page as the default page (/var/www/html/index.html) with the message:
“Welcome to DevOps Stage 0 - [Your Name]/[SlackName]”
(Replace [Your Name] with the name and [SlackName] with your Slack Username).
- Documentation
Write a blog post that documents your experience with this task. The blog should include:
a. Details about your approach to completing the task.
b. Any challenges you faced during the process and how you overcame them.
c. How this task contributes to your learning and professional goals.
Task Overview and Approach
This blog showcases the step-by-step process I undertook in setting up and configuring the NGINX web server on a fresh ubuntu machine. Through this task, I was able to test my capability to deploy a basic web server and serve a custom HTML page. Below are the guidelines to achieve this…
Step 1: Creating a VPC (Virtual Private Cloud) network and Subnet using the GCP cloud provider to provide a secure environment for my ubuntu server
- https://console.cloud.google.com/networking/networks/...
- click on create VPC network
- Name: hng-vpc
- MTU 1460
- NEW SUBNET Name: hng-subnet
- Region: asia-east1
- IPV4
- IPv4 Range :10.0.0.0/24
NB: other information remain same, for the scope of this practice.
