• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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