1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

How do I change a vhost port ?

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by RaphaëlD, Nov 23, 2011.

  1. RaphaëlD

    RaphaëlD New Pleskian

    12
    60%
    Joined:
    Nov 22, 2011
    Messages:
    4
    Likes Received:
    0
    Hi,

    I would like to know How do I change a vhost port in plesk 10.3.

    Do I use a vhost.conf file ?
    Do I write in this file like an apache vhost conf file ?

    Anyone can help me please ?
     
  2. RaphaëlD

    RaphaëlD New Pleskian

    12
    60%
    Joined:
    Nov 22, 2011
    Messages:
    4
    Likes Received:
    0
    I find how to change the vhost port :

    vim /var/www/vhosts/MYDOMAIN.COM/conf/XXXXXXXXX.http.include

    Replace the port 80 by this I want.

    Remarke the vhost conf /usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=<domain_name> with <domain_name> without www
     
Loading...