• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Can vhost template in Plesk be configured to wildcard IPs?

GrZeCh

New Pleskian
Server operating system version
CentOS Linux 7.9
Plesk version and microupdate number
18.0.56
Hello,

I'm planning to put my Plesk installation behind pfSense firewall where pfSense will hold external current Plesk IP and perform NAT translation on pfSense and pass traffic to Plesk using local IP address. I wanted to make nice transition and move all vhost configuration from specific IP address (external one) to have vhost handle traffic to all IPs (*:80 and *:443) and my question is:

Can vhost template which Plesk is using be updated to use:

Code:
<VirtualHost *:80>

and

Code:
<VirtualHost *:443>

instead of specific IP address?

Whenever I've tried to modify one website configuration on:

Code:
/var/www/vhosts/system/SOMETESTWEBSITE/conf/httpd.conf

to use *:80 I can't access website data and default Plesk website is being shown (from /var/www/vhosts/default/htdocs).

Thanks
 
Back
Top