Pawel's Website

Technology, Life

Let your domain be your online signature

Posted at — Aug 3, 2020

Your own domain make your more independent and flexible on the Internet as well as your own website as I mentioned here. You have at least a couple of options what you can do using your domain.

Having website is an obvious choice but you don’t need to finish here, you can also host on your server some applications, services like git, search meta engine, business app or whatever you want and serve them to users or for yourself using your public domain or create dedicated sub-domains. There is of course a cuple of things to manage in order to make this working on your servers like install and configure Web Server (Nginx, Apache etc.), configure it as reverse proxy if you want to add an extra layer of security, redirect traffic from standard port 80 to different one or configure it as loadbalancer to have High Availability accross different nodes but none of them are impossible to achieve. Benefits and satisfaction of having self hosted solutions under your domain is incomparably higher than put effort.

When you have website and additional apps under your domain there is one more step to have complete suite of your own services, e-mail accounts with your domain can be one of the most important one. Is it not the best way to make you trustworhy when you send e-mails to people from them same domain as they visit your website at? I can confirm it is however there is one catch, you need to configure this the smart way in order to make your domain more reliable in era of spam and milions of fake accounts. Antyspam filters are very sensitive those days and you need to put a little bit effort to protect your legitimate e-mails against them.

You have basically three things you have to configure for your domain to make this working:

  1. MX record - it’s a basic and mandatory record to configure for your domain in order to make it working with mail server at all. Depends on if you use self hosted mail server or some trusted mail provider it’s possible that configuration process on server side will be slightly different.
  2. SPF record - SPF (Sender Policy Framework) is nothing more than way (protocol) to verify origin of received e-mail from different servers. Other words it tells whether the message was sent from an authorized e-mail server or not but it won’t guarantee message won’t be categorized as spam.
  3. DKIM record - DKIM (DomainKeys Identified Mail) is authentication method that includes signature in sending e-mails that allows to verify you are the owner of the domain. I would say that DKIM is even more important that SPF but both gives you more chance to make your e-mails more trusted for mail servers.

Don’t wait until someone will buy domain you would like to have and start creating your services the way you want.

by Pawel Zelawski