Hi I am using amazon ec2 linux instance and i have transferrd my site using to the instance using filezilla and imported the database and everything went fine.
The problem is when i try to connect to my site using my instance public ip it redirects to my localhost and displays the site.I have changed the file permissions to 777 and the same problem exists.
If i type my public ip in browser it displays the default apache page but once if i type my public ip/magento it points towards my localhost.
Someone please guide me how to solve this issue,how do i point my public ip to display my site without redirecting to my localhost.
Sorry Iam new to linux i do know where to change my localhost and make it point towards my public ip.