• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Adding wildcard virtual host?

T

Thomas K

Guest
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:
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
 
Back
Top