---
title: "Mahad Ahmed (@techwithmahad) | Hashnode"
description: "Follow me on my FullStack shenanigans and learn with me through the mistakes I make. Read the latest articles by Mahad Ahmed on Hashnode."
url: "https://hashnode.com/@techwithmahad"
---

@techwithmahad

# Mahad Ahmed

@techwithmahad · Kenya · Joined September 2023

Follow me on my FullStack shenanigans and learn with me through the mistakes I make

[Website](https://blog.mahad.dev/)

### [How to create your own email server using Main-in-a-Box](https://blog.mahad.dev/how-to-create-your-own-email-server-using-main-in-a-box?utm_source=hashnode&utm_medium=feed)

Introduction Hosting your email server is the first step to secure your privacy It saves you money if you own multiple domains What You'll Need \[ \] Brand new VPS or any Linux Server (My recommended VPS provider is Linode) \[ \] Ubuntu 22.04 LTS i...

5 min read · [blog.mahad.dev](https://blog.mahad.dev/how-to-create-your-own-email-server-using-main-in-a-box?utm_source=hashnode&utm_medium=feed)

[Feb 20, 2025](https://hashnode.com/posts/how-to-create-your-own-email-server-using-main-in-a-box/67b76467fff44f143454406e)

### [Setup your self-hosted MySQL on AWS EC2 Ubuntu](https://blog.mahad.dev/setup-your-self-hosted-mysql-on-aws-ec2-ubuntu?utm_source=hashnode&utm_medium=feed)

Introduction AWS has a MySQL compatible database but it's expensive and sometimes the cost doesn't justify the convenience we get from having such a service for personal projects or projects that don't make money. The alternative solution is to have ...

4 min read · [blog.mahad.dev](https://blog.mahad.dev/setup-your-self-hosted-mysql-on-aws-ec2-ubuntu?utm_source=hashnode&utm_medium=feed)

[Jan 25, 2025](https://hashnode.com/posts/setup-your-self-hosted-mysql-on-aws-ec2-ubuntu/679524ef1c4fe81543a3b1f6)

### [How to deploy Next.js to EC2 Ubuntu Linux](https://blog.mahad.dev/how-to-deploy-nextjs-to-ec2-ubuntu-linux?utm_source=hashnode&utm_medium=feed)

How to Setup EC2 for Dockerized Next.js Deployment Introduction Next.js is great serve-side oriented frontend framework that makes building SEO-friendly websites easier. Deploying it is trickier than it needs to be, I understand Vercel needs to make ...

7 min read · [blog.mahad.dev](https://blog.mahad.dev/how-to-deploy-nextjs-to-ec2-ubuntu-linux?utm_source=hashnode&utm_medium=feed)

[Jan 23, 2025](https://hashnode.com/posts/how-to-deploy-nextjs-to-ec2-ubuntu-linux/6792c8b1a82a3b247113af13)

### [Package your SaaS frontend for self-hosting using Golang](https://blog.mahad.dev/package-your-saas-frontend-for-self-hosting-using-golang?utm_source=hashnode&utm_medium=feed)

Sharing your frontend code with your clients feels wrong sometimes.

5 min read · [blog.mahad.dev](https://blog.mahad.dev/package-your-saas-frontend-for-self-hosting-using-golang?utm_source=hashnode&utm_medium=feed)

[Jan 22, 2025](https://hashnode.com/posts/package-your-saas-frontend-for-self-hosting-using-golang/6790fa5655adfc3df5c301cf)

### [How to Change Windows 11 to Dark theme from CLI?](https://blog.mahad.dev/how-to-change-windows-11-to-dark-theme-from-cli?utm_source=hashnode&utm_medium=feed)

You're unable to change to dark theme because your copy is not activated? Run these commands as a workaround.

1 min read · [blog.mahad.dev](https://blog.mahad.dev/how-to-change-windows-11-to-dark-theme-from-cli?utm_source=hashnode&utm_medium=feed)

[Jan 20, 2025](https://hashnode.com/posts/how-to-change-windows-11-to-dark-theme-from-cli/678ebc34b91f6c59f4e1cf3b)
