Incorrect hostname for https redirecting

Discussion in 'Installation/Configuration' started by tal56, Nov 30, 2007.

  1. tal56

    tal56 Member

    Hi,

    I've setup my server to be server1.mydomain.com and to use https for ispconfig. This works great if I use the link :

    https://server1.mydomain.com:81

    however if I do this :

    http://server1.mydomain.com:81 (with http instead of https)

    The redirect screen I get is this :

    As you can see I'm getting a redirect to "www" instead of "server1" for hostname. The problem with this is my www.mydomain.com is actually pointing to another server so this link does not work. How can I change this?

    By the way, I've followed this post :

    http://www.howtoforge.com/forums/showthread.php?t=605&highlight=ssl hostname wrong

    and changed my /home/admispconfig/ispconfig/lib/config.inc.php file to the correct hostname and restarted my server, but it did not change the redirect screen hostname still.

    Am I missing something I need to change? Thanks
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Please check in /root/ispconfig/httpd/conf/httpd.conf is www.mydomain.com is listed in there; if so, change it and restart ISPConfig.
     
  3. tal56

    tal56 Member

    Falko you are a genius, thanks !!
     

Share This Page