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

[Resolved] How change default website port 80/443

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
8 posts • Page 1 of 1
khampol
Posts: 31
Joined: Sat Jul 30, 2016 7:57 am

[Resolved] How change default website port 80/443
  • Quote

Post by khampol » Sat May 19, 2018 1:49 pm

Hi,
Bt default my website is on port 443 (https). I want to change it lets say 4499. How do that please ?
Last edited by khampol on Mon May 21, 2018 3:07 am, edited 1 time in total.
Top

khampol
Posts: 31
Joined: Sat Jul 30, 2016 7:57 am

Re: How change default website port 80/443
  • Quote

Post by khampol » Sun May 20, 2018 9:15 am

Help please guys.... :-(((((
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: How change default website port 80/443
  • Quote

Post by mehargags » Sun May 20, 2018 2:10 pm

open the custom port in firewall first
then
You can edit /home/<user>/conf/web/<ssl.domain.conf> and change it whatever port you like.
restart nginx
Top

khampol
Posts: 31
Joined: Sat Jul 30, 2016 7:57 am

Re: How change default website port 80/443
  • Quote

Post by khampol » Mon May 21, 2018 3:06 am

Hi and thx for reply thats help but it do not resolve the problem.
I try to install Nextcloud but as our only IP is already use by another server I try to set nextcloud in a port like 44881 but it always and come back to 443 so its just a messy stuff here...
Find other solution...

K.
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: How change default website port 80/443
  • Quote

Post by mehargags » Tue May 22, 2018 2:25 pm

khampol wrote: ↑
Mon May 21, 2018 3:06 am
Hi and thx for reply thats help but it do not resolve the problem.
I try to install Nextcloud but as our only IP is already use by another server I try to set nextcloud in a port like 44881 but it always and come back to 443 so its just a messy stuff here...
Find other solution...

K.
You need to create nextcloud as a subdomain and not run it under a different port. You are doing it way too hard. so configure a new domain like nc.domain.com and install nextcloud on it and enable https on it.

Please try to understand the basics of webserver and how to create and manage multiple domains before stepping onto any kind self-managed server setup. If you can't do this, consider paid support option https://vestacp.com/pricing/
Top

khampol
Posts: 31
Joined: Sat Jul 30, 2016 7:57 am

Re: [Resolved] How change default website port 80/443
  • Quote

Post by khampol » Tue May 22, 2018 2:38 pm

Thanks to try to help but the "other" servers already taken the other IP are not even VestaCP... (Something like VM Esxi....) so doing subfolder or subdomain would be impossible....
You are doing it way too hard
U are right ....
So I ask to a friend who already have Nextcloud for some space ;) .. Way easier.
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: [Resolved] How change default website port 80/443
  • Quote

Post by mehargags » Tue May 22, 2018 3:07 pm

You mean you don't have any IPs spare to be used on VestaCP ? If that is the case, you need to change your web templates and also nextcloud to run and listen on different ports. It will be way more harder to maintain for you. Better to search for alternatives like you've already found
Top

Vegas10128
Posts: 38
Joined: Tue Aug 16, 2016 4:58 pm

Re: [Resolved] How change default website port 80/443
  • Quote

Post by Vegas10128 » Wed Apr 01, 2020 4:13 am

Posts like these are never any fucken help please remove this and NOT MARK IT RESOLVED.
Top


Post Reply
  • Print view

8 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