Having migrated the website from the old host to this current one and seeing the website runs normally, with all the parts functioning well, I was quite happy as this is the first time I do such work, migrating website, especially when it’s configured with the database and work of database migration and configuration change is also needed. I was going to post an update about this change and success, and then I noticed the issue – I could not log into the admin portal because MFA was configured for all the accounts and it’s not working on this new host. Hmmm, not good.
I did some online search but didn’t get much useful information and how-to. OK, then how about a not quite smart one?
- I change the DNS configuration for this domain to the old server;
- I log into the website hosted on the old server with MFA verified successfully;
- I disable the MFA settings for the admin accounts;
- I do the website and database migration again;
- I change the DNS configuration to resolve the domain to this new server;
- Now I can log in successfully to the admin portal when the website is hosted on the new server;
- I enable the MFA settings for the admin accounts again.
It works. It’s not quite smart but fortunately it does not take much effort. Anyway, I get what I want. The website is running well and I can manage it from the UI admin portal. Good!
Another issue I can see and might be the next step I put some focus on is the host is located in China and there is no problem if the website is visited from within China, but it’s quite slow from foreign countries, and I do need it accessible there to share things with colleagues and friends in other countries. So what can I do to improve it?
What I can think of for now is renting another cloud server located in another country and configure load-balance between this server and my current host so that the one nearer to the visitors can provide the content which might speed up the whole performance. But how it works? Let’s see.