DocumentationWhat payment methods does Hostednode accept?What are Hostednode's billing cycles?When is the monthly renewal charge generated?When are services suspended for non-payment?When is a service deleted for non-payment?What should you do if a payment method is unavailable?Are all services subject to VAT?Do you issue receipts or invoices?How to create a customer account on HostednodeDo you accept cryptocurrency payments?How to Access DirectAdmin and Explore the Panel’s Main FeaturesHow to Configure PHP for Subdomains and Additional Domains in DirectAdminHow to change the PHP version and settings in DirectAdminHow to Create an Email Account in DirectAdminHow to use ClamAV antivirus from DirectAdminHow to Enable and Use Redis from DirectAdminHow to Add a Domain Alias and Use It for Email in DirectAdminHow to Add an Additional Domain in DirectAdminHow to Add an Additional User to an Existing Database in DirectAdminHow to configure an autoresponder in DirectAdminHow to Set Up a Vacation Message in DirectAdminHow to Create a Subdomain in DirectAdminHow to Create a Cron Job in DirectAdminHow to Create a Database and Associate Its User in DirectAdminHow to Create an FTP Account in DirectAdminHow to Create a Mailing List in DirectAdminHow to Create an Email Forwarder in DirectAdminHow to Create a Site Redirect in DirectAdminHow to Install WordPress with Softaculous WordPress Management in DirectAdminHow to Install WordPress with the DirectAdmin WordPress ManagerHow to Modify MX Records to Use Google Workspace in DirectAdminHow to review the web application firewall and create a rule exception in DirectAdminHow to Check Account Resource Usage in DirectAdmin
TUTORIAL

How to Add a Domain Alias and Use It for Email in DirectAdmin

Create a domain alias in DirectAdmin and understand how it receives email in the primary domain’s mailboxes when using local email.

An alias allows another domain to display the selected domain's website. When the alias uses the hosting service's local mail, addresses with the same name also deliver messages to the primary domain's mailboxes.

Before you begin

  • Set the domain that already contains the website and email accounts you want to use as the active domain.

  • Use an authorized domain that has not been created as a separate domain in the account.

  • Check where DNS and email are managed for both domains. If email is managed by an external provider, configure its aliases with that provider.

1. Create the alias

Open Account Manager → Domain Pointers and click Create Domain Pointer.

DirectAdmin dashboard with tool groups and account statistics.
DirectAdmin dashboard with tool groups and account statistics.
  1. In Source Domain, enter the domain to use as the alias, without a protocol, paths, or the prefix www.

  2. Check that Target Domain shows the correct primary domain.

  3. Keep the Create as an Alias checkbox selected so that the other name serves the same website.

  4. Click Create and wait for the confirmation Domain Pointer Added.

Source Domain, Target Domain, and the Create as an Alias checkbox.
Source Domain, Target Domain, and the Create as an Alias checkbox.

If you clear Create as an Alias, web requests are redirected to the target domain. To display the website while retaining the alternative name, use the alias option.

2. Check local mail for the alias

Alias created with Type set to Alias and Local Mail set to Yes.
Alias created with Type set to Alias and Local Mail set to Yes.

In the list, check the name, the Type and the Local Mail column. With local mail enabled, the alias shares the target domain's recipients.

For example, if ventas@example.com exists and you add example.net as an alias of that domain with local mail, messages addressed to ventas@example.net are delivered to the same mailbox as ventas@example.com. No second mailbox or separate quota is created for each alternative name.

The alias retains the same part before the @ sign. It does not turn nonexistent addresses into valid mailboxes or select a different recipient. To manage the mailbox, continue using the primary domain's account.

If you need to enable local delivery for an existing alias, select it and use Set Local Mail. Set Remote Mail is for a domain whose email is managed outside this server. Confirm the mail destination before changing it.

3. Verify the website and mail delivery

Check that the alias's DNS points to the hosting service and that its MX records correspond to the provider that will receive its email. HTTPS requires a valid certificate that includes the alias.

Open the alias in your browser. To check local mail, send a message to an existing address using the alias domain and check the equivalent mailbox on the primary domain. Seeing the alias listed in the control panel confirms its creation, but does not by itself verify DNS resolution or email delivery from the Internet.