When i login in ISPConfig at http://www.mydomain.com:81/login.php everything looks normal. When i click on > Management > Settings, i have to login again. At this new login-screen the address in my browsers shows: http://wwwww.mydomain.com:81/login.php?err= Yes, 5x w! I do not understand! After login to verify the settings in > Management > Settings, the wwwww, are still there. So, i tried the following: In my browser i went to the URL: http://www.mydomain.com, which works fine. But ... Also http://wwwww.mydomain.com works and also http://wwwwwww.mydomain.com ! It does not matter how many w's i put there, i can reach my domain. This looks very strange to me and i have to say that this appears since i have ISPConfig 2.2.0. What could be wrong? Please let me know! Hans
Looks like a DNS setting to me. Does http://anyting.mydomain.com also work? If so, you have in the cname an Alias '@' pointing to your IP (I think) in the DNS setup.
Yes, http://mydomain.com works too. And you are right about the cname pointing to my IP. But is this the reason? I did not notice it before...
I'm not talking about http://mydomain.com but http://what_ever_you_put_here.mydomainname.com I'm also not 100% sure if the cname is the problem! You maybe better wait for some of the experts to verify this!
The URL settings within this file look like this: /********************************************** * System Settings **********************************************/ $go_info["server"]["dir_trenner"] = "/"; $go_info["server"]["server_root"] = "/home/admispconfig/ispconfig"; if(isset($_SERVER['SERVER_NAME']) && isset($_SERVER['SERVER_PORT'])){ $go_info["server"]["server_url"] = 'http://'.$_SERVER['SERVER_NAME'].':'.$_SERVER['SERVER_PORT']; } else { $go_info["server"]["server_url"] = "http://www.mydomain.com:81";
Replace PHP: if(isset($_SERVER['SERVER_NAME']) && isset($_SERVER['SERVER_PORT'])){ $go_info["server"]["server_url"] = 'http://'.$_SERVER['SERVER_NAME'].':'.$_SERVER['SERVER_PORT']; } else { $go_info["server"]["server_url"] = "http://www.mydomain.com:81"; } with just PHP: $go_info["server"]["server_url"] = "http://www.mydomain.com:81";