• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Setting Up Separate Mail Accounts for a Domain Alias?

smirking

New Pleskian
I've got a situation in which I need to have a set of mail accounts that share a domain name with a domain that's already in use as a domain alias and because the domain is already in use, I'm unable to create a new account using that domain. I tried explicitly adding "www" to the domain alias so I could keep the www.domain.com address as an alias and reserve the "domain.com" name for use as a separate account, but Plesk won't allow for that.

Has anyone encountered this situation before? Anyone have any ideas how to address this? The idea I'm currently considering is to delete the domain alias and then create the new account and manually set the DOCUMENT ROOT of the new account to refer to the other domain's document root. I'm sure this could create some headaches in Plesk so I'm looking for input before trying it. I'm actually not even sure exactly where I would be able to redefine the document root with Plesk allowing the change and not overwriting it later.

If all else fails, I can setup a new account on a different and unrelated Plesk server, but I'd prefer not to do that.
 
Hi smirking,

thanks for your request. You can add the domain alias as a seperate domain so you can use all mail services at it as well.
 
Hi smirking,

thanks for your request. You can add the domain alias as a seperate domain so you can use all mail services at it as well.

Yes I know that, but if I add it as a separate domain I have to first delete my alias, which I don't want to do because I want the Web part aliased to a parent domain and the mail part handled by its own domain. I was able to address this by overriding the webroot in the "Webserver Settings" for the mail domain.

Those of you who want to do the same, this will work:

Code:
DocumentRoot /var/www/vhosts/parent-domain.com/httpdocs
ServerName alias-domain.com
ServerAlias www.alias-domain.com
<Directory "/var/www/vhosts/parent-domain.com/httpdocs">
<IfModule sapi_apache2.c>
    php_admin_flag engine on
</IfModule>
<IfModule mod_php5.c>
    php_admin_flag engine on
</IfModule>
</Directory>
 
Back
Top