Product:
Search Type:

How can I set up a domain alias in Plesk?

Article ID: 894 
Last Review: Oct,11 2007
APPLIES TO:
  • Plesk 7.5.x Reloaded

RESOLUTION

In order to set an alias for a specific domain you will need to do the following:

1. Enter the $HTTPD_VHOSTS_D/domain.tld/conf/

2. Create vhost.conf and vhost_ssl.conf files there and add the required alias records into them:

ServerAlias alias1.domain.tld
ServerAlias alias2.domain.tld

3. In order for the new files to take effect you should rebuild Apache configuration with the following command:

# $PRODUCT_ROOT_D/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=<domain.tld>

 

Note: $PRODUCT_ROOT_D and $HTTPD_CONF_D paths are defined in /etc/psa/psa.conf

 

Note: since Plesk 8, domain alias for Web and Mail can be set in Plesk CP on "Domain->Domain Aliases" page. If the "Add Domain Alias" button is greyed out, the "Maximum number of domain aliases" limit should be increased for this domain.

Keywords: domain alias

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields