DirectAdmin Knowledge Base and Support

DirectAdmin is a web panel for a simple administration of both virtual and dedicated servers. DirectAdmin is faster, safe and more powerful than any other CP. And we know how to customize and support it.

WordPress Multisite Domain Mapping on Directadmin server

| 11:08:33 09.11.2016

There are two ways to deal with WordPress Multisite on Directadmin powered server, and you should choose one according to your preferences and requirements.

First of all you should ask yourself a question:

Do I need separate email boxes per domain?

Please answer the question now and it will help to determine a way which you will go further while setting domain mapping for WordPress Multisite in the control panel for web hosting Directadmin.


Separate email boxes per domain and aliases in Directadmin

If you need separate email boxes per domain, then you should never use aliases (pointers) when adding a new domain in Directadmin for WordPress Multisite, and that is why. 

Directadmin shares one password file for all mail accounts between domains which are added as aliases. 

It means that if you have example.com, example.nl, example.eu added as aliases, then if you create mail@example.com, you will get aliases with names mail@example.nl, mail@example.eu as well (with a single disk storage and a single password). 

Thus if you are planning to give access to read mail@example.nl, mail@example.com or mail@example.eu to different users then you should add every new site in directadmin as a regular domain with its own public_html and private_html. On the moment of creation public_html can be replaced with a symlink, so that you will still be able to use WordPress Multisite and have independent mail boxes.


What else?

There are other moments which you should consider too (probably more technical and less common):

  • Web-server error and access logs (yes, aliases share them)
    If you want separate error/access logs per domain for any reason do not use aliases.

  • Aliases share stats in Directadmin (AwStats, Webalizer)
    If you need separate stats per domain in Directadmin do not use aliases.

  • Aliases share virtual-host settings (it's OK in most cases)
    But if you need custom settings for any of domains, do not add it as alias.

  • Aliases share SSL certs (do you have a multidomain cert?)
    If you want to use certs for some of domains you should not add them as aliases. SSL certs from Let's Encrypt can include several domains in one cert, that's true. And how many domains do you have?

Of course you can mix it and add some domains as aliases if you don't want to have separate logs, stats, mailboxes, settings for it, and add other ones as independent domains if you want to separate them for any mentioned reasons.


Need help?

Please contact us if you need our help regarding the matter and/or automation of the process.

About Us
We are a team of professionals, and specialize in installation, configuring and managing of remote virtual and dedicated servers powered by Linux/Unix-like OS with DirectAdmin. We support various sets of software, including web-servers Apache, Nginx; internet domain name servers Bind, PowerDNS; mail-servers with POP3, IMAP and SMTP, FTP-servers, etc. After years of working through the most complex server challenges our team has gathered valuable experience and universal solutions suitable for everyday tasks. We are here to lend you a helping hand and take care of your servers in order to let you have enough time to do more of what you love.




All of the information and data on this site is for informational purposes only and is provided for the convenience of the user.
Powered by: Amiro.CMS - Free edition