A Possible Solution
After reading this long thread, I noticed similarities in what I was seeking. I need to be able to add domain B for the purpose of email, while having an existing domain (domain A) have a ServerAlias to domain B. This way, domain B functions fully in the control panel, while the web site portion of it is actually hosted on domain A.
Here is my proposed solution, please let me know if this covers all ends:
- Add domain B as normal to directadmin
- Have the ability to comment out domain B's <VirtualHost> block through the control panel.
- Add the ServerAlias to domain B in domain A's Domain Pointer section (the new 1.233 version that uses ServerAlias)
The thought here is, if you could comment out the <VirtualHost> block on domain B, it would still function for email, ftp, etc, but its httpd configuration would be handled by domain A.
This could be done manually, but Im not sure what would happen when changes were made to directadmin (would it rewrite the httpd config thus removing the commented lines?)
Maybe Im on to something?