How to bind a domain name for access in the testing environment deployed on Ubuntu

After replacing “localhost” with my domain name, the logo image display and login redirection are incorrect.

DISCOURSE_HOSTNAME=localhost UNICORN_LISTENER=localhost:3000 bin/ember-cli -u