I moved my magento installation to a new server. I copied all the files,folders and mysql dump to the new server. I configured local.xml to set the new database settings. When i tried the ipaddress in the browser it took me to the default apache page with magento favicon. So I gave to 777 permissions to all the files and folder (I know its wrong). Now When i try the IPaddress in the brower it redirects me to the old magento server link.Why is this happening?
Thanks
var
folder exist?core_config_data
. Search for the records with the valuelike
your old url an change them