Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Someone knows how can I change the vhost listen port in Plesk 10.3 on ubuntu server ?

I can change the apache listen port with this command line :

mysql -uadmin -p`cat /etc/psa/.psa.shadow` -D psa -e'replace into misc (param, val) values ("http_port", <custom http port>)' 

(source : but I don't find How can I change a vhost port.

share|improve this question
up vote 1 down vote accepted

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.

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

share|improve this answer
You're wrong. This config file XXXXXXXXX.http.include will be overwritten in a short time, say psa restarted or websrvmng started. – Ilja Mar 26 '13 at 20:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.