Fix to change domain name or ip address of your scriptcase server

if you ever get a error message when accessing your server like the one below.

Warning: file_get_contents(http://xxxxxxxxxxxxx/test.php): failed to open stream: Connection timed out in /var/www/html/xxx/index.php on line 7

The make sure that your hosts file contains the correct hostname you are accessing the server on.

Generally when you install the server using an ip address and then try to access the server using a dns name or a new dns name then teh server is unable to identify itself. So make sure the new dns name and the ip address is saved in the servers hostname file

note: i have replaced my domain and directory path with xxxx.

Anil