Change Hostname Issue

Hi there!

I'm new in the community so first of all....hi everyone!

I am trying to change the hostname of my cs cart.

When I have changed the "hostname" in the nginx and the "default" I can access to my shop with the new domain and the hostname appears on the top of the browser, so far so good, but when accessing the admin panel, I am getting the error "Too many redirections" and I cannot access to the panel.

Could you please help me on what can I check?

Thanks in advance.


At CS-Cart side:

- change http and https locations in he config.local.php file

- change http and https locations on the Administration -> Stores page

- delete the var/cache directory