• 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.

Change vhost port number

J

Jeff W.

Guest
Is there a way to change the default port number that vhosts use? For exmaple,

/var/www/vhosts/mysite.com/conf/httpd.include contains:

<VirtualHost my.ip.add.ress:80>
ServerName mysite.com:80

I'd like to be able to run my vhost on a different port. I looked through the Plesk control panel, the Plesk DB, and all of the Plesk config files and Plesk scripts but I can't seem to find where you can specify the port number.

Thanks,
Jeff
 
You cant change the default port but you can go in after its created and modify to a different port, but if you change vhost settings in plesk again plesk will rebuild the httpd.include file so beware of that. Also then be sure to modify your firewall to allow the new port.
 
Back
Top