I googled for the past hew hours just to found few sources which didn't help so far. My task is to change apache port to anything but 80.
So far I have changed ports.conf which is included into apache2.conf
NameVirtualHost *:81 Listen 81
Also as told by comments in that file I have changed VirtualHost statement in
/etc/apache2/sites-enabled/000-default. It is a shortcut there so I just renamed that shortcut and added copy with with changed ports to
these changes alone makes apache listen on specified ports, I see
It works! page.
But that is where my luck runs out, changing plesk port turns out to be not that easy.
I've followed this link which explains how to change port for Parallels Plesk Panel 11.x for Linux.
I've tried to put on
:8080 but there is a tomcat server running so I have deleted the custom folder which was created in tutorial and redid steps to change port to
:1234, of course I have changed
VirtualHosts files accordingly and I've downloaded random file from custom folder to check whether or not port has changed. Port changes are present but when I type
domain.com:1234 after a long waiting I'm redirected to
domain.com without any port
Error 101 message.
I'm wondering does plesk takes templates from custom folder that was created?
In any way I'm stuck and any help would be very much appreciated.
After digging more I found this page
here are tutorial how to configure apache port via mysql. So I have reverted all changes back to starting point and did follow tutorial part for apache port change and yet I have bumped into same outcome. Once I type domain.com:1234 I'm instantly redirected to domain.com.
Does anyone has any idea what I'm missing here or what could be the possible cause? Because as I understand it suppose to be quite a simple thing to do.