• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.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