H
HristosH
Guest
Failed to change apache's default port in plesk 10.3
Hello
i have switched to 10.3 plesk in a ubuntu 8.04 x64 linux and i followed the instructions in apache-configuration pdf of how to change apache's port.
so i setup in domainVirtualHost.php , that is located in
from
so far i didn't find that this ports is using by other service in plesk or virtuozzo and i did a reconfigure of all of my domains port with this command .
the restart option gave me a warning
i did a netstat to check if apache using the 8080 port and the report was that
so it did not changed the port from 80 to 8080 ( 0 0.0.0.0:80 ) .am i missing something in pdf instructions ?
I would like notice that in the plesk apache-configuration there is not any description on how can you set different ports on different domains. there is by default in apache's configuration this option !!!!!!!
p.s. i am trying to setup varnish in front of apache server for better perfomance .Also , if there is any guide how to setupa varnish under plesk 10.3 i will be glad if you give a link or a detailed guide
Hello
i have switched to 10.3 plesk in a ubuntu 8.04 x64 linux and i followed the instructions in apache-configuration pdf of how to change apache's port.
so i setup in domainVirtualHost.php , that is located in
, by changing the variable/opt/psa/admin/conf/templates/default/domain/domainVirtualHost.php
from
to$VAR->server->webserver->httpPort
"8080"
so far i didn't find that this ports is using by other service in plesk or virtuozzo and i did a reconfigure of all of my domains port with this command .
/opt/psa/admin/bin/httpdmng --reconfigure-all
/etc/init.d/apache2 force-reload
/etc/init.d/apache2 restart
the restart option gave me a warning
[Sat Aug 20 16:41:35 2011] [warn] VirtualHost 178...[server i.p.]...:8080 overlaps with VirtualHost 178..[server i.p.]....:8080, the first has precedence, perhaps you need a NameVirtualHost directive
i did a netstat to check if apache using the 8080 port and the report was that
netstat -lpn | grep apache2
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 12173/apache2
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 12173/apache2
so it did not changed the port from 80 to 8080 ( 0 0.0.0.0:80 ) .am i missing something in pdf instructions ?
I would like notice that in the plesk apache-configuration there is not any description on how can you set different ports on different domains. there is by default in apache's configuration this option !!!!!!!
p.s. i am trying to setup varnish in front of apache server for better perfomance .Also , if there is any guide how to setupa varnish under plesk 10.3 i will be glad if you give a link or a detailed guide
Last edited by a moderator: