<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mayowa</title>
    <description>The latest articles on DEV Community by Mayowa (@popoola).</description>
    <link>https://dev.to/popoola</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1316551%2F0afc4273-7135-4dd5-9875-dae76ddf221a.png</url>
      <title>DEV Community: Mayowa</title>
      <link>https://dev.to/popoola</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/popoola"/>
    <language>en</language>
    <item>
      <title>Nginx web-server Installation and Configuration With Custom HTML content on AWS Cloud</title>
      <dc:creator>Mayowa</dc:creator>
      <pubDate>Fri, 31 Jan 2025 01:31:50 +0000</pubDate>
      <link>https://dev.to/popoola/nginx-web-server-installation-and-configuration-with-custom-html-content-on-aws-cloud-23ig</link>
      <guid>https://dev.to/popoola/nginx-web-server-installation-and-configuration-with-custom-html-content-on-aws-cloud-23ig</guid>
      <description>&lt;p&gt;In this short guide, I’ll walk you through setting up Nginx server to serve a static HTML page on Aws Ubuntu Linux.&lt;/p&gt;

&lt;p&gt;Step 1: Bootstrapping nginx installation on Ubuntu Linux and starting the nginx server with Aws user data, using terraform script.&lt;br&gt;
Step 2: Creation of a custom HTML page using terraform script on aws user data. &lt;br&gt;
Step 3: Bootstrapping nginx configuring page on Aws user data, using terraform script.&lt;br&gt;
Step 4: Accessing the custom page through: &lt;a href="http://18.219.113.173:80/index.html" rel="noopener noreferrer"&gt;http://18.219.113.173:80/index.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Challenges faced:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;After the installation and configuration of nginx on aws cloud, I struggled to locate my custom html page. I kept seeing the nginx default page.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I omitted the addition of ssh security, so I wasn't able to access the server.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I also forgot to map the endpoint with port 80 (http) during server provisioning, so I wasn't able to access the URL on port 80.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Solution:&lt;br&gt;
-After a little troubleshooting and careful study of the terraform script, I discovered it was because I didn't add port 80 in the terraform script. Then I edited the script and added the port and the issue was resolved.&lt;/p&gt;

&lt;p&gt;-After careful study of the script, I discovered that it was because I didn't add the index.html path during nginx configuration. I edited the configuration file and added the path and the problem resolved.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;After going through my terraform script, I discovered that I forgot to add ssh security group and after adding it, I was able to access the nginx server.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Personal Growth:&lt;br&gt;
I can now confidently deploy html custom contents on a lightweight web-server like nginx.&lt;/p&gt;

&lt;p&gt;With this few steps, you can deploy a custom HTML page on Nginx running locally. This setup is perfect for testing static websites, local development, or learning how Nginx works.&lt;/p&gt;

&lt;p&gt;You can access the server through the following URL:&lt;br&gt;
&lt;a href="http://18.219.113.173:80/index.html" rel="noopener noreferrer"&gt;http://18.219.113.173:80/index.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;References:&lt;br&gt;
&lt;a href="https://hng.tech/hire/devops-engineers" rel="noopener noreferrer"&gt;https://hng.tech/hire/devops-engineers&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Nginx(web-server) Installation And Configuration on a Localhost.</title>
      <dc:creator>Mayowa</dc:creator>
      <pubDate>Thu, 30 Jan 2025 22:32:12 +0000</pubDate>
      <link>https://dev.to/popoola/nginxweb-server-installation-and-configuration-on-a-localhost-35jj</link>
      <guid>https://dev.to/popoola/nginxweb-server-installation-and-configuration-on-a-localhost-35jj</guid>
      <description>&lt;p&gt;In this short guide, I’ll walk you through setting up Nginx to serve a static HTML page on a localhost.&lt;/p&gt;

&lt;p&gt;Step 1: Nginx installation on Ubuntu Linux. Starting the nginx server&lt;br&gt;
Step 2: Creation of a custom HTML page. &lt;br&gt;
Step 3: Configuring nginx page&lt;br&gt;
Step 4: Accessing the custom page through: http/localhost/index.html&lt;/p&gt;

&lt;p&gt;Challenge faced:&lt;br&gt;
After the installation and configuration of nginx on my localhost, I struggled to locate my custom html page. I kept seeing the nginx default page.&lt;/p&gt;

&lt;p&gt;Solution:&lt;br&gt;
After a little troubleshooting, I discovered it was because I didn't add the path "/index.html" at the back of my localhost URL i.e I was using "localhost" instead of "localhost/index.html".&lt;/p&gt;

&lt;p&gt;Personal Growth:&lt;br&gt;
I can now confidently deploy custom contents on a lightweight web-server like nginx.&lt;/p&gt;

&lt;p&gt;With this few steps, you can deploy a custom HTML page on Nginx running locally. This setup is perfect for testing static websites, local development, or learning how Nginx works.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
