We recently migrated our Multi-domain magento setup from a shared host to a dedicated server.
All is working fine fronted, but when I try to go to the admin section I get a 404 error on anything after login.
It seems to work if I remove index.php from the url but then as soon as I click on another link in the admin section it 404's again with the index.php back in the URL.
After migration from www.domain1.com/magento/ to www.domain2.com/magento/ I was getting 500 Internal Server Error. So I just renamed my .htaccess to htaccess.txt. And my frontend started working fine, But at Backend http://www.yourstore.com/admin/ I was getting Same 500 Internal Server error.
After trying many option suggested online nothing worked for me and after that I tried to access admin via following URL and voilà worked perfect, Hope this help others.
Try to access as this > http://www.yourstore.com/index.php/admin/
This is an old thread but I've also had an issue with ownership what was returning a 404 in admin. I'd been doing some work on securing the server and some files were owned as root, not apache. So a
chown -R apache:apache .
fixed it right up.Does the dedicated server have mod_rewerite enabled? Does the apache configuration allow .htaccess files to make changes to configuration directives via AllowOverride? Both of those are common ways that the Magento config gets pooched up.
-- You need to go your server directly and do this via SSH/ FTP
You have to delete the following file
If you get an error after that like
Then go to your Database Management.
_
Some thing strange happens with the cache when you move the databases from one server to another so it seems like you need to clear it out.
Check in this way
or