views:

326

answers:

3

I am unable to login into magento admin.

In magento, (in newest release..)

it needs proper domain to login ...but how it is possible in a local machine...

I found some solution ...in magento forum here... http://www.magentocommerce.com/boards/viewthread/4337/P15/

They asked to change localhost to h t t p ://127.0.0.1

but when tried it redirects to localhost...?!

Kindly suggest.

+1  A: 

Create a "fake" domain name, something like magento.dev. Setup an apache virtual host with this name, and add an entry to your hosts file that points magento.dev to 127.0.0.1

Alan Storm
A: 

Make sure you have a trailing slash when you change it: e.g. h t t p ://127.0.0.1/

dardub
A: 

You need to change your localhost to h t t p ://127.0.0.1 and then delete the cache and session folder located at your /magento/var folder

Michael L