title: Creating subdomain aliases
body: <p>I have a server with Plesk 10.4 on CentOS6, which has an interface for creating aliases of a domain, but not aliases of a subdomain.</p>
  
  <p>For example I have this subdomain set up:</p>
  
  <pre><code>test.my-domain.co.uk
  </code></pre>
  
  <p>And then I want to create aliases so that the following subdomains map to the same root:</p>
  
  <pre><code>alias-1.my-domain.co.uk 
  alias-2.my-domain.co.uk
  alias-3.my-domain.co.uk
  </code></pre>
  
  <p>I've tried creating a vhost.conf file like this:</p>
  
  <pre><code>&lt;Directory /var/www/vhosts/my-domain.co.uk/subdomains/test&gt;
      # aliases
      ServerAlias alias-1.my-domain.co.uk
      ServerAlias alias-2.my-domain.co.uk
      ServerAlias alias-3.my-domain.co.uk
  &lt;/Directory&gt;
  </code></pre>
  
  <p>And then reconfiguring all domains:</p>
  
  <pre><code>/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
  </code></pre>
  
  <p>However that fails.</p>
  
  <p>Is this possible? Am I doing something wrong?</p>