Page 1 of 1
Changing Apache2 ports
Posted: Tue Jan 05, 2016 5:06 pm
by alifopensrc
Hey guys,
Is it possible to move Apache from port 8080 to something else say 9090 for instance? Where can i make these changes?
Thank you.
-AOS.
Re: Changing Apache2 ports
Posted: Tue Jan 05, 2016 6:01 pm
by skurudo
Apache2:
/etc/apache2/conf.d/your-ip.conf:NameVirtualHost your-ip:8080
/etc/apache2/conf.d/your-ip.conf:Listen your-ip:8080
VestaCP:
1. /usr/local/vesta/conf/vesta.conf - WEB_PORT
2. Don't forget update port in Firewall
And you need to rebuild web for existing domain(s)
Re: Changing Apache2 ports
Posted: Wed Nov 09, 2016 4:15 pm
by AlbEagle
Hello, i can't find
/etc/apache2/conf.d/your-ip.conf:NameVirtualHost your-ip:8080
/etc/apache2/conf.d/your-ip.conf:Listen your-ip:8080
on my server ?
Re: Changing Apache2 ports
Posted: Wed Dec 07, 2016 1:32 pm
by skurudo
apache2 in CentOS has name httpd