The issue of Admin panel being unavailable was I think because the base url
was overwritten in the database. Every Magento installation can have
multiple stores and websites but only one default config secure /unsecure
base url. Foolishly, I did not think about this.