I am replacing an old website to a new Magento site on another server. Both are live, although the new site, while in development, is behind a protected directory. This was achieved by creating an A record pointing to the new server: production.domain.xxx.
Due to the site almost being complete, I went to remove the protection on the directory and the site failed with a internal error 500. Once the protection was switched on again, it works fine. Why is this?
Ideally, I would like the new domain site to work without protection during these final stages. Do I need to change how I'm doing the redirect?