Problem accessing /admin - redirects to old domain
We have an issue with the site domain. When doing the migration we tested the site at beta.draw3cards.com and this was the domain in the settings.
Now the site is in production and I have changed settings.py
:
DOMAIN_NAME = 'draw3cards.com'
CSRF_COOKIE_NAME = 'draw3cards.com_csrf'
The site works well, but when I try to access draw3cards.com/admin
the site redirects me to beta.draw3cards.com/draw3cards/admin
and, obviously, doesn't work.
UPDATE:
I've searched both in the code and the database the string beta.draw3cards.com
and it doesn't appear in either one.
However, looking in error_log I found this:
[Wed Jan 16 17:54:23 2013] [debug] mod_deflate.c(615): [client xx.xx.xx.xx] Zlib: Compressed 337 to 234 : URL /draw3cards/admin/
Comments
Suggested edit: Problem accessing /admin - redirects to old domain