• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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