I’m trying to move hosting companies.
I have HSTS enabled on my https site.
Usually - I’d set up my site on the new server - and edit my windows hosts file to make my browser think site domain points to the new IP
127.0.0.1 localhost ::1 localhost 188.8.131.52 www.example.com
The problem now is - cloudflare and using HSTS - cloudlfare knows that the IP is wrong - and it wont let me access the new IP.
Is it safe to turn off HSTS - or will my users be unable to access my site?
Or can anyone give me any advice on transferring to a new server, when using cloudflare and HSTS.
Ideally - I’d like to get the site up and running on the new server - then just change the IP cloudflare loads the site from when its ready.
Using 184.108.40.206/~username/ is not an option
Thanks for the help.