Problem with accessing web panel

Discussion in 'Installation/Configuration' started by Kaczucha, Oct 19, 2024.

  1. Kaczucha

    Kaczucha New Member

    Hi :)

    I'am using debian 12 with ISPConfig and I got few problems. Accessing web panel through domain.tld:8080 and got few problems
    1. https won't work and Im getting security error in browser (domain.tld https works, when accessing through domain.tld:8081 I got 400 bad request)
    2. Session looks like it's 10s long, after I got to any tab it kicking me out and I need to reload page and login once again.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You must use the server hostname to access the panel and not any domain you host or that might point to the system, too. If you don't remember your server hostname, login by ssh and run:

    hostname -f

    to get the server hostname. Then you open a browser and enter the exact server hostname with https and port 8080. Example:

    hostname -f returns the hostname: server1.example.com

    Then you use in your browser:

    https://server1.example.com:8080

    to access the panel. using any other name must result in a SSL error as the SSL certificate is issued for the server hostname only.
     
  3. Kaczucha

    Kaczucha New Member

    Thank you so much for your answer :)
    I've got same thing when accessing web panel through name from hostname -f So it looks like its not working as it should.

    What about session time? You think that 2nd problem may occure with 1st?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    How did you install the server and did you get any messages that no SSL cert could be issued during installation? it is very important to set the right hostname in the server and DNS before you start with the installation. If the hostname van not be reached from the internet on port 80, the you will not get a valid SSL certificate.

    The session ends when you close the browser and not after a specific time.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Also, what is the exact error message you get when you access the panel, it should show you for which name the SSL cert has been issued plus you can skip that and access the panel anyway in most browsers.
     
  6. Kaczucha

    Kaczucha New Member

    I didnt get any errors while installing.
     
  7. Kaczucha

    Kaczucha New Member

  8. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

Share This Page