I migrated my magento project (magento version 1.9.1 ) to live server. But when I try to access the live site, it gets redirected to localhost. I have followed everything I could find regarding this issues like:
- changed the secure/insecure base_url values in core_config_data table.
- deleted all the contents of /var/ folder
- cleared browser cache
- modified the permission of /var/ folder to 777
- changed the database name, username and password in local.xml file.
Still the problem is not solve.
Futhermore, if I try to access the backend, the login page in the live server is accessible but once I login, I get redirected to the backend of localhost or my local computer. Also, it is a multi-website projects. I have two websites for national and international clients.
What am I missing here?