• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

creating virtual hosts in plesk 8.2...please help!!!

E

elduderino

Guest
Hi,

I've been trying to create virtual hosts using httpd.conf but have found out that plesk overrides this.... i need to check i'm doing the right things to get my virtual hosts working with plesk....so:

1. i've gone to /var/www/vhosts/mydomain.com/subdomains and created a directory and given it the name of the vitural host i want....and then created a directory called conf within that and put a file in the called vhost.conf....so the path now looks like this:

/var/www/vhosts/mydomain.com/subdomains/newsite.mydomain.com/conf

in conf ive created a file called vhost.conf and put some virtual hosting stuff in it:

<VirtualHost *:80>
ServerName www.newsite.mydomain.com
DocumentRoot /var/www/vhosts/mydomain.com/httpdocs/play
</VirtualHost>

i then run this ( because it said i should somewhere )
DocumentRoot /var/www/vhosts/boudaki.com/httpdocs/play

and re-started the apche server.

Now when i go to newsite.mydomain.com all i get is is the default server page......

Can anyone tell me what i'm doing wrong or if im on the right track at all???

There is another directory under /www called vhosts when i look in it the files for my main dite and the server default page can be found
 
Ah i needed to create it in the plesk control panel....it's not exactly apparent what you have to do in order to get a sub-domain going.
 
Back
Top