skip to Main Content

We currently have sites.adomain.com set up in Plesk 11 and want to use bdomain.com as an alias for sites.adomain.com. The old method does not seem to work which was:

vi /var/www/vhost/adomain.com/subdomains/sites/conf/vhost.conf
contents:

ServerAlias "bdomain.com"
ServerAlias "www.bdomain.com"

Does anyone know how to do it for the new version of Plesk?

Thanks.

2

Answers


  1. Try /var/www/vhost/sites.adomain.com/conf/vhost.conf

    Login or Signup to reply.
  2. Insert your ServerAlias directives in a file called:

    /var/www/vhosts/system/yourdomain.com/conf/vhost.conf

    And then you have to run this for changes to take effect:

    /usr/local/psa/admin/sbin/websrvmng -u --vhost-name=yourdomain.com

    Simply restart httpd won’t make it work.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search