• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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 mail@yourdomain.com. You have set up an alias for your domain name, for example, alias.com. If you want to receive mail to your mailbox mail@yourdomain.com when it is sent to mail@alias.com, 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 mail@alias.com, 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