Changing Apache2 ports
-
- Posts: 21
- Joined: Sun Nov 09, 2014 12:20 pm
Changing Apache2 ports
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.
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
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)
/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
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 ?
/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
apache2 in CentOS has name httpd