Technology

A 23-post collection

Host Multiple Domains Served by Apache Http Server on One EC2 Server

By My Ultimate Guide For Everything |  Jun 27, 2023  | ec2, aws, httpd, virtual-host, rhel
Motivation Hosting multiple domains on the same EC2 server using httpd and virtual host can provide several benefits for website owners or administrators. Here are a few reasons why one would consider implementing this setup: Cost Efficiency: By hosting multiple domains on a single EC2 server, you can optimize resource utilization and reduce costs. Instead of provisioning separate servers for each domain, you can consolidate them onto a single server, resulting in significant savings in terms of infrastructure expenses.
Continue Reading...

Hugo Tag Page Does Not Work

By My Ultimate Guide For Everything |  Jun 24, 2023  | hugo, tags
I recently encountered an issue with tag pages not working properly in Hugo, a popular static site generator. Whenever I clicked on a tag link, instead of being directed to the corresponding tag page, I was redirected to a blank page served by hugo. Frustrating, right? After some investigation, I found a simple workaround to fix this problem: restarting the Hugo server. It seems that the issue stems from a caching or routing glitch within Hugo.
Continue Reading...

Permission to Repository Denied to Git User

By My Ultimate Guide For Everything |  Jun 9, 2023  | git, permission-denied, error-403
Permission to Repository Denied to Git User If you are reading this post because you’ve already tried a few solutions out there including switching from https to ssh in your git config or verifying your repository access, then continue reading. Most likely you need to clear your Git credentials. For Windows: Open the Credential Manager and remove any Git-related credentials. Open a command prompt and run the following command to clear the Git credential cache: git config --global --unset credential.
Continue Reading...

Authentication with AWS Amplify

By My Ultimate Guide For Everything |  Jun 9, 2023  | aws-amplify, authentication, react-native, cutomized-authentication
This is part of a series of posts on building mobile apps with React Native and AWS services. You can read the parent post here. Authentication with AWS Amplify User authentication is a fundamental requirement for many mobile applications. AWS Amplify provides a comprehensive solution for implementing user authentication in React Native apps. In this blog post, we will explore how to leverage Amplify Authentication to secure your React Native app with user sign-up, sign-in, and user management functionalities.
Continue Reading...

Get Started With GraphQL on React Native

By My Ultimate Guide For Everything |  Jun 7, 2023  | graphql, react-native, amplify
This is part of a series of posts on building mobile apps with React Native and AWS services. You can read the parent post here. Get Started With GraphQL on React Native (using Amplify) 1- Introduction: GraphQL has gained significant popularity as a powerful query language for APIs. It offers a flexible and efficient way to fetch and manipulate data, making it an excellent choice for building modern applications. When combined with AWS Amplify, a development platform provided by Amazon Web Services, GraphQL becomes even more accessible and easier to integrate into your projects.
Continue Reading...

How to build and publish apps on Google Play and Apple App Store

By My Ultimate Guide For Everything |  Jun 7, 2023  | app-development, react-native, google-play, apple-app-store, build-package
This is part of a series of posts on building mobile apps with React Native and AWS services. You can read the parent post here. How to build and publish apps on Google Play and Apple App Store Enable USB debugging In order to enable usb debugging for your Android and iOS devices you can follow these steps: On Android Go to the “Settings” app on your Android device. Scroll down and tap on “About phone” or “About device.
Continue Reading...

Getting started with React Native

By My Ultimate Guide For Everything |  Jun 3, 2023  | app-development, react-native
This is part of a series of posts on building mobile apps with React Native and AWS services. You can read the parent post here. Getting started with React Native To initialize a React Native project, build a “Hello World” app, and run it, you can follow these steps (Please note that the exact command may vary for your OS): Install Required Tools Before getting started, make sure you have Node.
Continue Reading...

Enable HTTPS using HAproxy and Certbot for free

By My Ultimate Guide For Everything |  May 31, 2023  | https, haproxy, certbot
Enabling HTTPS Support for Your Website with HAProxy and Certbot: A Cost-Free Solution Motivation: In today’s digital landscape, securing your website with HTTPS has become more important than ever. Not only does it enhance user trust and data privacy, but it also positively impacts your website’s search engine rankings. However, acquiring and managing SSL certificates can be a daunting task, often accompanied by high costs. Fortunately, there are open-source tools like HAProxy and Certbot that can help you enable HTTPS support for your website free of charge.
Continue Reading...

Hugo CORS Issue and the baseUrl Parameter

By My Ultimate Guide For Everything |  Apr 22, 2023  | cors, hugo, baseurl
CORS issue hosting a Hugo website Hugo is a popular static site generator that simplifies the process of creating and deploying websites. One of the key features of Hugo is its ability to configure the base URL for your website. However, if the base URL is set to the www version of the URL, you may receive a cross-origin reference error when attempting to access the naked version of the URL without the www prefix.
Continue Reading...

Top 5 Free Self Hosted Commenting Systems

By My Ultimate Guide For Everything |  Apr 21, 2023  | top-5-commenting-systems
Here are the top five popular (free self hosted) commenting systems: 1- Commento: Commento is a lightweight, privacy-focused commenting system that can be self-hosted for free. It offers features such as moderation, spam filtering, and custom theming. The source code is available on GitHub under the MIT license. 2- Isso: Isso is a fast and lightweight commenting server that can be self-hosted for free. It offers features such as moderation, spam filtering, and user authentication.
Continue Reading...