#1  
Old 3rd June 2009, 01:44
justinsane justinsane is offline
Junior Member
 
Join Date: Jun 2009
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Default Change port 8080

How do I change the port that the control panel listens on?
Currently it is 8080 but I want to change it to a different port.
Google failed to find out how to do this.

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 3rd June 2009, 08:04
kkng kkng is offline
Junior Member
 
Join Date: Jun 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

see whether this help
/usr/local/ispconfig/server/conf/

this two files:
vhost.conf.master
apache_ispconfig.conf.master
Reply With Quote
  #3  
Old 3rd June 2009, 09:03
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,457
Thanks: 813
Thanked 5,239 Times in 4,107 Posts
Default

Or you could have just entered the port as you installed ispconfig.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 3rd June 2009, 22:37
justinsane justinsane is offline
Junior Member
 
Join Date: Jun 2009
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Default

Thanks kkng and till but I'm still unable to change the port.

I now have two instances of ispconfig3 on different debian lenny boxes.

The first one was set up with the default port 8080 selected during installation.
The second one was set up with port 50 selected during installation.

Both were set up using the procedure at
http://www.howtoforge.com/perfect-se...nny-ispconfig3
and both are working properly as far as I can tell.

The control panel works fine at http://192.168.1.120:50 on the second box.

Now I want to change the first box from 8080 to something else, say 51.
I don't want to reinstall it because it's in use for web services.
I'm the only person who uses the control panel.

I searched the contents of these files on both boxes
/usr/local/ispconfig/server/conf/vhost.conf.master
/usr/local/ispconfig/server/conf/apache_ispconfig.conf.master

It wouldn't surprise me if I misunderstood something but I cannot find 8080 or 50 in either file on either box.


Regards
Reply With Quote
  #5  
Old 4th June 2009, 17:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,726 Times in 2,565 Posts
Default

The configuration files are in the /etc/apache2/sites-available directory.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 5th June 2009, 02:26
justinsane justinsane is offline
Junior Member
 
Join Date: Jun 2009
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

Thanks for your help falko

In case it's of use to others, here's what I did to change the port to 51.

1. Add the new port to System Firewall in the control panel. Don't forget to Save.
2. Check with nmap that the new port is available (closed).
3. Edit three lines in /etc/apache2/sites-available/ispconfig.vhost

Listen 51
NameVirtualHost *:51

<VirtualHost _default_:51>

4. restart apache2

/etc/init.d/apache2 restart

5. Find the control panel at the new port.

After completing the procedure up to here I got a bit worried that in Monitor it showed up in red that the web server was offline. However this problem disappeared after a few minutes and everything is now working fine. Maybe the control panel takes time to update after the apache2 restart.

6. Remove the old port from System Firewall in the control panel. Don't forget to Save.

At this stage I was a bit concerned to see a popup message "Sorry there was an Error"
Closing and restarting the browser access to the new port cured that.

7. Check with nmap that only needed ports are open.

8. Check that the services are working correctly at the new ports.

Comments on this procedure are welcome, particularly if I'm likely to find anything else that was broken as a result of doing it.

Regards
Reply With Quote
The Following User Says Thank You to justinsane For This Useful Post:
falko (5th June 2009)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Two FTP Issues: Change Port and Alerts jonwatson Installation/Configuration 3 13th February 2009 13:49
How to change Port 25 to different Port # happz Installation/Configuration 1 6th October 2008 14:42
Mail Question: installed smf forum on centos perfect server setup with ispconfig happz Installation/Configuration 7 22nd August 2008 13:15
Getting e-mail working hansoffate Installation/Configuration 29 13th August 2008 16:33
How to install BFD (Brute Force Detection) domino Tips/Tricks/Mods 9 31st March 2006 22:40


All times are GMT +2. The time now is 03:58.


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