- Newest
- Most votes
- Most comments
Hello,
Simple Steps to Create Subdomain and Configure Email Server:
1. Log in to Domain Registrar:
- Go to your domain registrar's website (where you bought xyz.com).
- Login to your account control panel.
2. Create Subdomain (test.xyz.com):
- Locate the section for managing domains or DNS records.
- Find the option to add a new record or subdomain.
- Enter "test" as the subdomain name.
Choose the record type:
- CNAME: If your email provider instructs you to use a CNAME record.
- MX: If your email provider gives specific MX record values.
3. Choose Email Provider:
Decide on a separate email hosting service (e.g., Google Workspace) or use your existing web hosting's email service.
4. Follow Email Provider Instructions:
- Sign up for your chosen email provider service.
- Look for their instructions on adding a new domain (test.xyz.com).
- They'll likely provide specific CNAME or MX record values.
5. Update DNS Records (use values from Step 4):
- Go back to your domain registrar's control panel.
- Edit the subdomain (test.xyz.com) you created in Step 2.
- Enter the CNAME or MX record values provided by your email provider.
6. Wait for Propagation (up to 24 hours):
- It can take some time (usually less than 24 hours) for the changes to take effect globally.
The simplest way to accomplish this is to add an MX record for the subdomain to the existing xyz.com zone file. That is assuming you just need email for the subdomain.
The entry in the xyz.com zone file would look like the following:
test.xyz.com. IN MX 10 newmailserver.xyz.com.
To be RFC compliant, be sure to point the MX record to a name (A record or CNAME) and never an IP address.
Relevant content
- AWS OFFICIALUpdated 3 years ago

The MX records are the key for email. The MX record in each subdomain tells servers where to send mail for that (sub)-domain.