• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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