Hi All, how can I set the ISP Config software that redirect to the main website when a user try to write the IP in the address bar? Thanks
One way would be to edit the file: Code: vi /var/www/sharedip/index.html And put some javascript inbetween the <head></head>: e.g. Code: <script language="javascript"> location.href = "http://www.mainsite.com"; </script>
It seems like that directory (the sharedip directory) is password protected with a .htaccess file. Is that why you're seeing that password popup when you type in the IP? When I type in my ip address I just get the "THIS IS A SHARED IP" default message from ispconfig, but from your attached image it looks as if that same directory is using the apache way of password protecting a directory.