How to redirect ISPConfig Panel to websites

Discussion in 'Installation/Configuration' started by pfaf, Nov 7, 2012.

  1. pfaf

    pfaf New Member HowtoForge Supporter

    Hello to everyone,

    we have disallowed IspConfig access by refusing connections to port 8080 from everywhere but the localhost and we use port redirection via SSH to access the IspConfig Control panel.

    We are running ISPConfig3 on Debian Sqeeze, Nginx, PHP-FPM, etc, based on the wonderful how-to by djh-compnet & falco. Check Tutorial: The Perfect Server – Debian Squeeze (Debian 6.0) With BIND, Dovecot & Nginx [ISPConfig 3]

    We would like to allow on some client websites to use the IspConfig control panel. We have also enabled SSL on the website.
    i.e. we want to access ISPConfig via

    We have tried to use the following redirection rule in NGINX:

    location /ispconfig {
    rewrite ^/ispconfig/(.*)$ $1 break;
    proxy_redirect off;
    proxy_buffering off;

    but it does not work, and we get a 404 error.

    Do we need to disable https at the ispconfig site?

    Does anybody know how to overcome this?

    Thank you all in advance for your support.

    Kind regards,

    Last edited: Nov 7, 2012
  2. falko

    falko Super Moderator ISPConfig Developer

    Can you try
  3. pfaf

    pfaf New Member HowtoForge Supporter

    OK, it is better now, i got the following... check the attachment also..

    But it is still not going anywhere...

    What are we missing?


    Attached Files:

  4. falko

    falko Super Moderator ISPConfig Developer

    rewrite ^/ispconfig/(.*)$ $1 break;
    rewrite ^/ispconfig/(.*)$ [COLOR="Red"]/[/COLOR]$1 break;
  5. pfaf

    pfaf New Member HowtoForge Supporter

    No, unfortunately we have the result like the image i have already posted in this thread...

    Skip to the navigation. Skip to the content.
    ISPConfig 3
    hosting control panel
    Powered by ISPConfig

Share This Page