We recently cloned a LAMP App over to a new App to continue internal development work on the website. When we cloned the app, it keeps redirecting to the old URL.
Is there any sort of internal caching that takes place inside the LAMP Apps? I've tried flushing the Redis Database and that doesn't seem to have fixed anything.
@jlx89 there is no internal cache. Can you just do a plain
curl -v https://clonedapp.domain.comand see what is happening? Could it be that you have the domain hardcoded in your LAMP app and it's redirecting you to that location? This happens fairly often when cloning WP with misconfigured plugins.