Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Changing Apache2 ports

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
alifopensrc
Posts: 21
Joined: Sun Nov 09, 2014 12:20 pm

Changing Apache2 ports
  • Quote

Post by alifopensrc » Tue Jan 05, 2016 5:06 pm

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.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Changing Apache2 ports
  • Quote

Post by skurudo » Tue Jan 05, 2016 6:01 pm

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)
Top

AlbEagle
Posts: 5
Joined: Wed Nov 09, 2016 4:13 pm

Re: Changing Apache2 ports
  • Quote

Post by AlbEagle » Wed Nov 09, 2016 4:15 pm

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 ?
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Changing Apache2 ports
  • Quote

Post by skurudo » Wed Dec 07, 2016 1:32 pm

apache2 in CentOS has name httpd
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password