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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th April 2013, 14:51
jimmyk jimmyk is offline
Junior Member
 
Join Date: Apr 2013
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Default How to remove phpmyadmin from port 80

How do you block phpmyadmin from being available on port 80?

I would like it to use only a secure connection on port 2222 (port that ispconfig is installed on).

I gave this a try on the debian squeeze server, but it did not work:
# mv /var/www/ispconfig /var/www/disabledispconfig
# /etc/init.d/apache2 restart
Reply With Quote
Sponsored Links
  #2  
Old 17th April 2013, 14:57
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,413
Thanks: 834
Thanked 5,498 Times in 4,328 Posts
Default

You can not run other software beside ispconfig on the ispconfig port without compromising security of your server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 17th April 2013, 15:49
jimmyk jimmyk is offline
Junior Member
 
Join Date: Apr 2013
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Default

I noticed that phpmyadmin is working on the ispconfig port so I wanted to just remove it from port 80.

Ideally, I would like phpmyadmin to run on its own seperate port so it can be restricted with iptables. However, I have not really used phpmyadmin before so I do not know if this is possible. My Google search has given me diffent opinions on this so far.
Reply With Quote
  #4  
Old 17th April 2013, 16:07
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,413
Thanks: 834
Thanked 5,498 Times in 4,328 Posts
Default

Quote:
I noticed that phpmyadmin is working on the ispconfig port so I wanted to just remove it from port 80.
Then you seem to use a older version of ispconfig were we had not blocked that yet.

Quote:
Ideally, I would like phpmyadmin to run on its own seperate port so it can be restricted with iptables. However, I have not really used phpmyadmin before so I do not know if this is possible. My Google search has given me diffent opinions on this so far.
Use port 8081, this is the ispconfig apps vhost which is made to run additional apps on a ispconfig server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 18th April 2013, 15:28
jimmyk jimmyk is offline
Junior Member
 
Join Date: Apr 2013
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Default

I installed version 3.0.5.2 using the dclardy script that was posted elsewhere in this forum. However, I selected port 2222 for ispconfig when ispconfig asked for an installation port.

It looks like I will have to reinstall ispconfig using the standard ports.
Reply With Quote
  #6  
Old 18th April 2013, 15:46
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,413
Thanks: 834
Thanked 5,498 Times in 4,328 Posts
Default

You dont have to reinstall ispconfig. The port you selected for ispconfig does not matter for this.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 18th April 2013, 18:03
jimmyk jimmyk is offline
Junior Member
 
Join Date: Apr 2013
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

I have switched ports now and ispconfig is on port 8080.

phpmyadmin is now available on:

https:www.example.com:8080/phpmyadmin

This is essentially what is was aiming for. However, phpmyadmin is still also available on:

http:www.example.com/phpmyadmin

This is what I am hoping to be able to avoid. I am not sure if the issue has arisen because I initially installed ispconfig on a nonstandard port.
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
Postfix Setup, Outlook 2013 Account Settings for ISPs blocking Port 25 (Comcast) bpmee Server Operation 8 5th March 2014 18:49
strange fail2ban behaviour > doesn't ban specific IP Djamu Server Operation 2 13th January 2012 02:29
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 11:35.


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