No auth token after new hard drive

I run HASS OS in a VirtualBox. My hard drive broke and after installing a new hard drive, I made a new VirtualBox with the same virtual hard drive (vdi) that I used for Home Assistant with the old hard drive. The OS and the Docker container start just fine. The home-assistant.log has no errors.
I have it set up with Nginx and DuckDNS and MFA. After trying to load it in the browser, it won’t load. There are console errors that the /auth/token is unreachable. I have no clue how to fix it. Any help would be appreciated.
Edit:
Never mind. I decided to just make a new instance of Home Assistant. I have a backup of the YAML files and the scripts that I wrote. FYI I think the mistake I made was that I copied (cp) the vdi. I should have cloned it. I knew better but I didn’t do better.