1. docs
  2. getting started

What is Subdomain Addressing?

last updated November 23, 2023

Introduction

Subdomain addressing is a powerful feature available to all Mango Mail users that allows you to create any number of addresses under a single mailbox. In this article, we will discuss setting up subdomain addressing, its benefits, use cases, and best practices.

What is Subdomain Addressing?

Much like plus addressing, subdomain addressing is a tool that lets you create infinite variations of your primary email address without the need for multiple mailboxes. Subdomain addressing avoids many of the pitfalls of plus addressing while maintaining all of its advantages. Namely, subdomain addressing avoids the use of the plus sign "+" and instead formats the destination mailbox as a subdomain with the username being the subdomain of the main domain (e.g. "[email protected]"). Not only does this look more professional, but this format will also ensure wide compatibility with websites that don't allow you to enter plus signs in an email address.

Utilizing Subdomain Addressing

If your email is "[email protected]", subdomain addressing enables you to create subaddresses such as "[email protected]", "[email protected]", or "[email protected]". All of these variations direct emails to the same primary inbox, simplifying inbox without juggling multiple accounts.

Dynamic Customer Addresses

Similar to plus addressing, subdomain addressing also allows you to create email addresses for your customers on-the-fly. By creating subaddresses such as "[email protected]", you can establish a professional and distinct email for each customer to easily manage and track communication with individual customers while keeping their interactions separate from your main email stream.

Getting started

If you haven't already, you will need to make a standard mailbox to which your subaddress can forward mail. If you want to use [email protected], you will need to make a standard mailbox at [email protected].

Configuring Your DNS for Subdomain Addressing

In order to get subdomain addressing working, you will need to add a wildcard MX record. A wildcard record is simply a record that uses an asterisks "*" for the host or name of the record (i.e. *.example.com). Create a new MX record at your DNS provider with the host as "*".

Wildcard records only apply for subdomains that are not explicitly defined in any DNS record. If a subdomain has records that identify it, you will need to create a separate wildcard MX record for that subdomain (i.e. *.sub.example.com).

Conclusion

Subdomain addressing is a versatile tool that empowers website owners to organize their online presence effectively. Whether used for organizing content, isolating services, or customizing user experiences, subdomains offer a valuable means of enhancing website structure and functionality. By understanding the benefits and best practices associated with subdomain addressing, you can make informed decisions to optimize your online presence.