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

I have googled my eyes for the past three hours yet failed to find an answer as to HOW do I change the default Apacht PORT on Plesk.

I want to put all Hosts to Port 81. Updating the central config file is trivial, the funny thing is, however, that the per-host configuration files generated by plesk all have port 80 listed as default, for example:


I'd like plesk to write whatever port I like there instead of port 80.

Is there a way?

share|improve this question

closed as off-topic by HopelessN00b Feb 25 '15 at 4:33

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

Administration panels are off topic. – HopelessN00b Feb 25 '15 at 4:33
up vote 1 down vote accepted

I put a help request out for you to my tech support team. I'll have a response for you soon. Thanks for your patience.


Ok, here's what he told me.

"If you change the port in vhost's httpd.include, it will be overwritten by websrvmng when you add a new domain. As a possible solution you can use Event manager and event trigger for creating new domains with executing script for changing port number for vhosts. For example:

find $MY_FILEPATH  -name $MY_FILE -exec perl -p -i -e "s[:80][$MY_REPLACE]g" {} \;
service httpd restart"

Let me know if that helps.

Drew from Parallels @ParallelsPanel

share|improve this answer
Great, thanks! _ – clops Jan 16 '10 at 17:09
Did this work? Doesn't the event work like this: CP Add Hosting Domain -> Execute Custom Event -> Plesk write config file? In which case any changes would be overwritten? It would seem to work like this for modifications. – Imo Aug 15 '10 at 15:43

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