domainname-change: incorrect hosts file

I found the following value in the hosts file:

127.0.1.1 freedombox.example.com freedombox

The domain name shouldn't have a "freedombox" subdomain in the hosts file.

  • This can cause a bug in MediaWiki VisualEditor: when trying to edit any pages with the Visual Editor, the user gets this error and can't edit anything visually: MediaWiki 1.35 Error contacting the Parsoid/RESTBase server: (curl error: 28) Timeout was reached

Correcting the hosts file solves the issue.

  • Other than that, when the user logs in via ssh, it displays an incorrect domain name
Edited by Benedek Nagy