• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Alias Email and Sub directory

K

Kevin Medri

Guest
How do I create a email accounts for domain alias, and how do I direct the link of a domain alias to a specific sub directory of httpdocs?
I have read through all the manuals and the forum and cant seem to find a solution to these basic tasks, its probably staring me in the face!
Thank you for any help.
 
Domain alias is just other name of main domain and it hasn't own content. Maybe you meant subdomain instead alias? There is following path to subdomain's content in this case - /var/www/vhosts/domain.com/subdomains/...

Also you can only select the Mail check box in alias preferences, if you want e-mail directed at the e-mail addresses under the domain alias to be redirected to the e-mail addresses under your original domain name.

Example: You have an e-mail address [email protected]. You have set up an alias for your domain name, for example, alias.com. If you want to receive mail to your mailbox [email protected] when it is sent to [email protected], select the Mail check box.
 
What I am trying to do is have multiple domains point to different directories of my main domain, ie:
Main domain points to httpdocs/ secound domain points to httpdocs/seconddomain/ and third domain point to httpdocs/thirddomain/ etc. I could do this on my old cp.
Also where do I set up the email account for the domain alias ie [email protected], I cant seem to find the @alias option anywhere, agian I could do this easily on my old cp.
 
I can suggest you to use mod_rewrite and .htaccess files for redirection your domain aliases to necessary Root Directories.
 
Thanks for that what about the email accounts for the domain alias?
 
Back
Top