change the web interface port?

neddy

Guest
How can i change the apache web server port from port 80 to another port i.e. 8080, and place another website on port 80 just saying that this server is a mail gateway or something? this is so users can't just go to the public ip address / host name of the promox server and see the promox admin login screen etc etc?

cheers.
 

dietmar

Proxmox Staff Member
Staff member
Apr 28, 2005
17,125
526
133
Austria
www.proxmox.com
Please use you Firewall

Changing the HTTP Port is currently not possible. But maybe you have a firewall where you can do arbitrary port redirections (DNAT).

- Dietmar
 

neddy

Guest
Changing the HTTP Port is currently not possible. But maybe you have a firewall where you can do arbitrary port redirections (DNAT).

- Dietmar

no we cant :( as we are an isp, so the server needs to be public, there must be a way in the apache http conf files?
 

tom

Proxmox Staff Member
Staff member
Aug 29, 2006
15,554
925
163
no we cant :( as we are an isp, so the server needs to be public, there must be a way in the apache http conf files?

hi,
why can´t you apply firewall rules? running proxmox not behind a firewall is never recommended. you have to open just the ports needed - see the chapter 3.2 in the admin guide.
 

mariagonzalez

New Member
May 21, 2005
7
0
1
How can i change the apache web server port from port 80 to another port i.e. 8080, and place another website on port 80 just saying that this server is a mail gateway or something? this is so users can't just go to the public ip address / host name of the promox server and see the promox admin login screen etc etc?

cheers.

you can change it in this template file:

/var/lib/proxmox/templates/httpd.conf.in

make sure, that you change all 443 settings (or 80), there are 3 places.

This is not supported from proxmox and normally, after applying an servicepack these settings are lost. so use it with care.
maria
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!