• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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