That’s normal, when you try to edit a page it goes to something like this
/x/#/content/36/layout. That is how it works.
Can you try setting the custom path to blank.
Please also check your site url and wordpress url under
Settings > General and make sure it’s the same and is set to your url(https://www2.XXXXX.it)
or if you are not able to go to that page, you can try adding this in your
define( 'WP_HOME', 'http://example.com' );
define( 'WP_SITEURL', 'http://example.com' );
example.com with your site url.
After that, install this third party plugin then do a search and replace
Search for http://10.xxx.xx.100
Replace with https://www2.xxxxxx.it
Hope that helps