View Full Version : Change URI of ISPConfig and put on port 80, still using https
DualFusion
11th December 2007, 02:38
Hello :)
I wanted to know if it was possible to change the location of ISPConfig via URI only. For example, lets say its currently on https://example.com:81/, is it possible for me to view it on https://cp.synarchydesign.com/? I basically want to change the port from 81 to 80, retaining the https (secure) and changing it to a sub-domain, kinda.
I was following this HowTo: http://howtoforge.com/apache_reverse_proxy_ispconfig but it didnt have everything i needed
Thanks! :D
till
11th December 2007, 09:22
The howto you posted above is the best solution for your problem.
Another solution will be to reconfigure the ISPConfig apache webserver, but this requires a dedicated IP for the controlpanle only.
DualFusion
11th December 2007, 22:36
the tutorial above only shows me how to change the port from 81 to 80, but it requires me to keep the same site name (www.synarchydesign.com) and obligates me to change the protocol to unsecure http.
How is it possible to do what you said about a dedicated IP for the cp?
till
12th December 2007, 11:02
You will have to configure the ispconfig apache (/root/ispconfig/httpd/conf/httpd.conf) to listen on one IP only (with the listen directive, please see apache documenation for more details) and then configure your main apache webserver to listen on the other IP addresses.
DualFusion
12th December 2007, 14:09
So I can listen to more than one IP using one ethernet? Cool.
falko
12th December 2007, 17:11
So I can listen to more than one IP using one ethernet? Cool.
Yes, that's right. :)
DualFusion
12th December 2007, 22:04
You will have to configure the ispconfig apache (/root/ispconfig/httpd/conf/httpd.conf) to listen on one IP only (with the listen directive, please see apache documenation for more details) and then configure your main apache webserver to listen on the other IP addresses.
Sorry, but how would I do this? :P Thank you!
Currently, the server is listening to 192.168.1.4. On my router, I reserve the IP's for certain computers using the MAC address, how would I find the MAC address of the source of this second IP?
falko
13th December 2007, 19:11
Sorry, but how would I do this? :P Thank you!Change the Listen directive in both configurations, e.g.
Listen 1.2.3.4:80
Listen 1.2.3.5:81
Currently, the server is listening to 192.168.1.4. On my router, I reserve the IP's for certain computers using the MAC address, how would I find the MAC address of the source of this second IP?
The MAC address is included in the output of ifconfig
DualFusion
13th December 2007, 22:09
The MAC address is included in the output of ifconfig
Yes, but I have to reserve the IP first in order to use it, or else my router may not allow it.
falko
14th December 2007, 14:11
How do you mean that?
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.