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

Adding wildcard virtual host?

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by Thomas K, May 17, 2010.

  1. Thomas K

    Thomas K Guest

    0
     
    Hello, I'm currently trying to add a wildcard sub domain to an existing domain on my server. I can't get it to work either by editing the httpd.conf or the vhosts.conf (placed in the domain.com/conf folder)

    Which file do I have to edit to get that to work?

    The vhost I'm adding:
    <VirtualHost *:80>
    ServerName *.domain.com
    DocumentRoot /var/www/vhosts/domain.com/httpdocs/testapp/public
    </VirtualHost>

    All I get is the "Default Parallels Plesk Panel Page"
     
    Last edited by a moderator: May 18, 2010
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,562
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
  3. Thomas K

    Thomas K Guest

    0
     
    Thanks!
    Used this because I have an applications which gives my users their own subdomain.

    ServerName app.timely.no
    ServerAlias *.timely.no
    DocumentRoot /var/www/vhosts/timely.no/httpdocs/testapp/public
     
Loading...