Search

Search for:
Language:  

No categories for selected product

How can I set up a domain alias in Plesk?

Article ID: 894 
Last Review: Apr, 16 2012
Views:

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.






Email subscription for changes to this article Email subscription for changes to this article

Please provide feedback on this article

* Did this article help you solve your issue?
Yes
No
What can we do to improve this article?

PLEASE NOTE: Knowledge Base feedback is reviewed occasionally and we do not reply to most of the individual comments. Please contact us using one of the Support channels for a response to any support inquiries. We appreciate your feedback.

Subscribe me for article updates. My email
 
 
 
 
 
 
For Home
For Hosters
For SaaS
For IaaS
For Developers
For Health Care
 
Desktop Virtualization
- Parallels Desktop 7 for Mac
- Parallels Transporter
- Parallels Mobile
- Parallels Desktop Switch to Mac Edition
- Parallels Workstation
- Parallels Workstation Extreme
- Parallels Desktop for Mac Enterprise Edition
Server Virtualization
- Parallels Server for Mac 4.0
- Parallels Server for Mac 4.0 Mac mini Edition
- Parallels Server for Mac Bare Metal Edition
- Parallels Server Bare Metal
- Parallels Virtuozzo Containers
Automation
- Parallels Operations Automation
- Parallels Automation for Cloud Infrastructure
- Parallels Business Automation
- Parallels Business Automation Standard
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
- Parallels Small Business Panel
- Parallels Domain/SSL Reseller Program
- Parallels Partner Storefront
More Products