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

Would you please help me configure, Thanks!

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
mmotk2016
Posts: 12
Joined: Sun Jun 18, 2017 8:59 am

Would you please help me configure, Thanks!
  • Quote

Post by mmotk2016 » Mon Sep 10, 2018 5:11 am

I need to add a port for the website to run.
For example:
- Normal website running with port 80: http://domain.com:80/
- Now I want to configure another port 8245: http://domain.com:8245/
What should I do? please help.. please help.. please help..
Top

xorro
Posts: 87
Joined: Sun Nov 13, 2016 3:11 pm
Contact:
Contact xorro
Website Skype

Os: CentOS 6x
Web: apache + nginx
Re: Would you please help me configure, Thanks!
  • Quote

Post by xorro » Mon Sep 10, 2018 3:59 pm

First you need to open custom port on your vestacp server depends on which OS you are using CentOS or Ubuntu.
Default HTTP port is 80 and HTTPS port is 443
Just login to your VPS / server Edit nano /home/<user>/conf/web/(domain.nginx.conf)

change the port and save it.

Reboot Nginx and you are good to go just enter http://yourdomain:port to access your website.
Top


Post Reply
  • Print view

2 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