• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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