Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd June 2006, 15:57
sveronese sveronese is offline
Junior Member
 
Join Date: Jun 2006
Location: Venezia, Italy
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Separate ISPconfig Admin and sites...

Hi! It is possible to separate ISPconfig admin interface (https/81 TCP apache)? I have 2 public IP address and i would be able to have ISPconfig admin on one IP address and apache2 to another IP. Is this situation possible?

Thank you

Simone
Reply With Quote
Sponsored Links
  #2  
Old 2nd June 2006, 17:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Yes, you can bind ISPConfig's Apache to a specific IP address by changing the Listen directive in /root/ispconfig/httpd/conf/httpd.conf, for example
Code:
Listen 1.2.3.4:81
Do the same for your main Apache (with the other IP address) and restart ISPConfig and Apache.
__________________
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
  #3  
Old 3rd June 2006, 20:58
sveronese sveronese is offline
Junior Member
 
Join Date: Jun 2006
Location: Venezia, Italy
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Falko! Thanks for the reply.
I configured ISPconfig's apache and site's apache and now I have the first apache bind on a IP and the second bind to another IP.
But... there's a problem:

gaia:~/ispconfig/httpd/bin#./apachectl start
./apachectl start: httpd started
gaia:~/ispconfig/httpd/bin# netstat -an | grep 81
tcp 0 0 89.xxx.xxx.xxx:81 0.0.0.0:* LISTEN
gaia:~/ispconfig/httpd/bin#

This is ok! But if I stop ISPconfig's apache with

gaia:~/ispconfig/httpd/bin# ./apachectl stop
./apachectl stop: httpd stopped
gaia:~/ispconfig/httpd/bin# netstat -an | grep 81
gaia:~/ispconfig/httpd/bin#

And try to restart ISPconfig with the init.d command:

gaia:~/ispconfig/httpd/bin# /etc/init.d/ispconfig_server restart
Shutting down ISPConfig system...
/root/ispconfig/httpd/bin/apachectl stop: httpd (no pid file) not running
ISPConfig system stopped!
Starting ISPConfig system...
/root/ispconfig/httpd/bin/apachectl startssl: httpd started
ISPConfig system is now up and running!
gaia:~/ispconfig/httpd/bin# netstat -an | grep 81
gaia:~/ispconfig/httpd/bin#

ISPconfig's apache dont start.
In /home/admispconfig/ispconfig/lib/config.inc.php I have mod with this line

$go_info["server"]["server_url"] = "https://89.xxx.xxx.xxx:81";

Where is the problem?

Thank you!
Simone

Last edited by sveronese; 3rd June 2006 at 21:01.
Reply With Quote
  #4  
Old 3rd June 2006, 21:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Any errors in /root/ispconfig/httpd/logs/error.log?
__________________
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
  #5  
Old 3rd June 2006, 22:17
sveronese sveronese is offline
Junior Member
 
Join Date: Jun 2006
Location: Venezia, Italy
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Solved! There was a misconfiguration in httpd.conf. Thank you for your time!

Simone
Reply With Quote
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
Web-FTP Login, sits and then logs out of ISPConfig w/ errors teleriddler General 6 3rd March 2006 19:37
Details on problem /mailuser login and more (long) linutzy Installation/Configuration 11 15th February 2006 18:45
Sites that are added using ISPConfig Tool direct to Apache page gimhan90 Installation/Configuration 11 13th February 2006 10:27
different port for admin access & suspendind nonpaying sites timehost Feature Requests 2 27th December 2005 14:25
General ISPConfig Newbie Questions christopher Installation/Configuration 1 24th November 2005 09:54


All times are GMT +2. The time now is 08:17.


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