Howto log into ispconfig - unknown port setup

Discussion in 'ISPConfig 3 Priority Support' started by danhan[email protected], Aug 11, 2017.

  1. danhansen@denmark

    [email protected] Member HowtoForge Supporter

    Hi,


    I can't seem to find my port to login to ispconfig from the web. I've got access to Linux using my rootaccess. So, how do I change the port setup? I need the controlpanel to modify DNS setup. Haven't fiddled with ispconfig in a while.

    Kind Regards
    Dan
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Take look into the /etc/apache2/sites-available/ispconfig.vhost file to get the current port of the ISPConfig interface.
     
  3. danhansen@denmark

    [email protected] Member HowtoForge Supporter

    Hi Till,

    I tried that and it worked perfectly. It was the standard port. What I forgot was this is a secure server and not accessible through common http. Using https solved it ... Not proud right now :confused:

    But, a new issue appeared. Can't login. Forgot the password. Tried the "forgot your password" thing. No luck either. Need a way to change the password for the admin account through SSH or directly at the terminal.

    Looking so much forward to hear from you ;)

    KR
    Dan
     
    Last edited: Aug 16, 2017
  4. danhansen@denmark

    [email protected] Member HowtoForge Supporter

    This should fix the problem regardless of a very tired mailserver ;)
    I tried this, but it didn't help.
    What is the word from Mr. ISPconfig ?? ;)


    This is what I've tried:

    [email protected]:/home/user# mysql -u root -p
    Enter password:

    Welcome to the MySQL monitor. Commands end with ; or \g.
    Your MySQL connection id is 13921
    Server version: 5.5.40-0ubuntu0.12.04.1 (Ubuntu)

    Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.

    Oracle is a registered trademark of Oracle Corporation and/or its
    affiliates. Other names may be trademarks of their respective
    owners.

    Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

    mysql> use dbispconfig;
    Reading table information for completion of table and column names
    You can turn off this feature to get a quicker startup with -A

    Database changed

    mysql> UPDATE sys_user SET passwort = md5('MyNewPassword') WHERE username = 'admin';
    Query OK, 0 rows affected (0.00 sec)
    Rows matched: 0 Changed: 0 Warnings: 0

    mysql> quit;
    Bye

    (no need to tell that myispserver, user & MyNewPassword are alias'es)

    Note! I've succeeded in login in with a user account. This is not the admin account but a user without much goodwill ;) So no luck there either..
     
    Last edited: Aug 16, 2017
  5. till

    till Super Moderator Staff Member ISPConfig Developer

Share This Page