1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Virtual hosts in Apache

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by Phil Wareham, Feb 27, 2009.

  1. Phil Wareham

    Phil Wareham New Pleskian

    23
     
    Joined:
    Dec 5, 2006
    Messages:
    24
    Likes Received:
    0
    Hi,

    I'm trying to setup a virtual host in Apache HTTPD on a server with
    Plesk installed. I want to forward requests for a specific host to
    Tomcat running on port 10000. I could not see a way to do this from
    within Plesk, so I added a file to the /etc/httpd/conf.d directory. The
    file has a .conf extension, and contains an entry like the following:

    <VirtualHost *:80>
    ServerName foo.bar.com
    ProxyPass / http://foo.bar.com:10000/storefinder/
    ProxyPassReverse / http://foo.bar.com:10000/storefinder/
    </VirtualHost>

    However, on restarting HTTPD, I get a server default page with the Plesk
    logo on it.

    Does anyone know why HTTPD is not honouring my virtual host
    configuration - perhaps it is conflicting with Plesk?

    Cheers,
    Phil
     
  2. Phil Wareham

    Phil Wareham New Pleskian

    23
     
    Joined:
    Dec 5, 2006
    Messages:
    24
    Likes Received:
    0
    So this can't be done then, right? Anyone?
     
    Last edited: May 5, 2009
Loading...