When logged into gmail, navigate to “settings” (upper right hand corner area of the page) and go to “Accounts”. Read carefully, and you should be fine.
From there, you can add “other” account configurations, pick a “default”, etc. Very useful, once youset up another “account”, as you can select at “compose time” which gmail “account” characteristics you want to apply to that email. You could send a mail as your gmail user, or as whatever other “account” you set up, including the one you will add to show your domain.com address