HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Moving Apache to another port (http://www.howtoforge.com/forums/showthread.php?t=580)

DrAgOOn 15th September 2005 22:00

Moving Apache to another port
 
I have recently setup a development box configured with ISPConfig (great software btw, makes everything simple). The kicker is, the server is a locally owned development box (in my house) and my internet service provide has port 80 block (go figure).

My question is, how do I change the web servers port to something else. I know how to change it in apache. But when I do, ISPConfig does not function properly. Where in ISPConfig can I change it to the new port for apache hosted web sites.

I want to be able to view the development sites outside my network (from the internet). My ISPConfig administration is on port 88, so I was thinking of just putting the main apache on port 81 or something.

Any reference or guidance from experiences ISPConfig users?

Thanks in advance!!

DrAgOOn 15th September 2005 22:06

my bad, can a mod move this to the ISPConfig Installation/Configuration forum.

falko 16th September 2005 11:14

Quote:

Originally Posted by DrAgOOn
Where in ISPConfig can I change it to the new port for apache hosted web sites.

You have to edit the functions make_vhost(), apache_version() and dienste() in /root/ispconfig/scripts/lib/config.lib.php and change all occurrences of 80 and 443 to your new port numbers.
If you use Frontpage extensions on your server you also have to change the line 719.


All times are GMT +2. The time now is 05:12.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.