New Installation - SSL Config Problem?

Discussion in 'Installation/Configuration' started by ahoivik, Apr 16, 2008.

  1. ahoivik

    ahoivik New Member

    Hello all,
    I just got finished installing ISPconfig on CentOS 5. Fresh installation, then followed the howtoforge tutorial on getting it ready for ispconfig. Everything went smoothly. As did the install.

    My problem is this, I can access ispconfig externally just fine ( via https ), i can access it internally just fine. But the websites do not work outside my lan.

    From another box within my lan, i type "192.168.1.107" and i receive the "this is a shared ip" page. If i connect via https, i receive the "welcome to apache for centos page" which is ok.

    but outside my lan ( from work ) i receive the the error below when attempting to access "pkp.codecritical.net" ( a configured site) i have tried selecting from the dropdown my external ip and internal to no avail.

    "Bad Request
    Your browser sent a request that this server could not understand.

    Reason: You're speaking plain HTTP to an SSL-enabled server port.
    Instead use the HTTPS scheme to access this URL, please."

    So i connect via https and i receive the "welcome to apache for centos" page again.

    Any help would be appreciated, i would provide more info, but i dont know what info you need to troubleshoot.

    Just FYI the internal ip is only temporary, as im setting this server up at home to later co-locate at my workplace with an external static ip.

    External Ip: 69.134.155.12
    Configured Hostnames: pkp.codecritical.net
    ISPconfig: https://ghost.pfdev.net:81

    ghost and pkp are the same server
     
    Last edited: Apr 16, 2008
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You will have to access the websites by their domain name and not by IP.
     
  3. ahoivik

    ahoivik New Member

    When I try to connect to "pkp.codecritical.net" i receive the error.

    The only time i get the shared page is when i connect via IP internal to the server.
     
  4. ahoivik

    ahoivik New Member

    In other words, i cannot connect to my 'client websites' via http, and when i connect via https, it loads the page for the /var/www/html directory.

    This happens reguardless if I have SSL enabled for the domain or not ( via ISP config )

    Any ideas?
     
  5. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    netstat -tap
    ?
     
  6. ahoivik

    ahoivik New Member

    Fixed the problem, it was a router config mistake on my part. I had incoming port 80 going to port 81 on server so all i got was the control panel. Simple typo on my part.

    Thanks for the help.
     

Share This Page