Incorrect Domain Name Displayed During Setup

During my setup, I provided my domain name correctly if it’s just simply the domain name like google.com or xyz.com, but here it shows discourse.example.com. Additionally, I am unable to receive the test email to any other mail box but I can get it on my domain? Please help me correct this issue or the domain there discourse.example.com is auto generated and correct?