← Back to home

Blog

Fancy Domains & Email

Here's a short write up on how I set up my domain and email if anyone's interested. There are tons of separate tutorials out there, but I wanted to consolidate the information I needed to set it all up.

Domain

Got this site domain from NameCheap. They provide free .me domains if you connect your GitHub Education Pack or institution email. Or use "welcome30" for 30% off your first purchase.

DNS & Hosting

I host on Netlify's free tier. They assign free HTTPS if you use their DNS. If you're also using Netlify do look into getting domains from Netlify as it saves time configuring and propagating DNS.

Email

Lots of Googling later, I managed to set up sending and receiving emails at this domain through Gmail. If you send emails to this domain (example asdfghjkl at this domain dot com) it'll land in my inbox.

There are 2 parts to this, email forwarding so you receive your emails, and email sending which lets you send emails from your specific domain.

Email Forwarding

I use ImprovMX. Set up an account with them, and put in MX records at your DNS provider using their guides. They'll forward any emails you receive at your domain to your email provider.

Email Sending (via Gmail)

You have 2 ways of going about this depending on if you want "Sent via Gmail" to appear in your receiver's email client.

If you don't mind, simply set up Gmail to send emails via smtp.gmail.com. ImprovMX has a guide with gifs. To summarize, set up two-factor authentication on your Google account, and create an app password specifically for email sending. Add your new address to Gmail through settings, and log in using the new address and the app password. Pick smtp.gmail.com & the default ports. Wait for a confirmation email from Gmail and you're good to go. If they don't send the confirmation email immediately, try again in a few hours (I received mine a day later).

If you do mind, get the free tier from MailGun and put in your credit cards. Add your new address to Gmail similarly, but put in MailGun's details instead of Gmail's smtp. Do note that MailGun requires you to delete the entire account to remove the credit card. Alternatively, look into Yandex Mail or Zoho Mail (which I've never tried). MailGun and Yandex Mail also do email forwarding.