I had to restore our website while changing hosting providers. While waiting for the DNS changes to take effect, I worked on a temporary URL. When I saw that the DNS changes were active, I deleted the temporary URL. But when I try to access the site, I get a 421 error saying:
---
Bad Request
The domain you are using to access this site is not allowed. This site can only be accessed through the domain names cc8g4c.n0c.world, www.cc8g4c.n0c.world.
If you clicked a link which brought you here please do NOT contact the administrator of the sites you see above. The problem is a wrong configuration in the web server of the company hosting the site, something that the site owner cannot control.
If you are the administrator of this domain name, and you were not expecting this error please go to your site's backend, Components, Admin Tools, Web Application Firewall, Configure WAF, Allowed Domains and add the domain name www.rouchenergies.fr to the list, then click on Save to update your site's settings.
---
I identified an issue in the htaccess file (line 314, redirections: it was still referring to the temporary URL), so I tried renaming the htaccess file while fixing the problem, but I still cannot access my domain (and therefore cannot access my Joomla administration).
My question: is there a way to access "WAF, Allowed Domains" other than through the administration?
Thanks.