• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

domain alias question

michaellunsford

Regular Pleskian
found this in the knowledgebase:

http://faq.sw-soft.com/article_41_894_en.html

So I try adding "ServerAlias www.alias.com" to the /home/httpd/vhosts/example.com/httpd.conf file.

but I get a syntax error when I include it under the <directory> heading. If I put it outside <directory> I don't get an error, but it also doesn't work. So I try using the apache <VirtualHost> heading, but I get this error:

<VirtualHost> cannot occur within <VirtualHost> section

I must be doing something terribly wrong. What is the correct way to do this in Plesk 8?
 
Back
Top