Just for the records.
The problem was the define
options used in wp-config.php
file.
@Gulirecs used this:
define('WP_SITEURL', 'http://www.sr1.example.net');
define('WP_HOME', 'http://www.sr1.example.net');
So the site was being redirected to www.sr1.example.net
and op doesn’t have defined that record on DNS. Also, those changes in wp-config.php
have preference over the changes performed using wp cli so the solution has been to comment/delete those define
parameters inside wp-config.php
file.