Hi @Rising Flight ,
About how to deploy exchange ,you could refer to the following official guide:
Deployment guides for Microsoft 365 - Exchange Deployment Assistant
In this guide you can find detailed steps about how to configure the external urls and the internal urls in virtual directories.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our [documentation][3] to enable e-mail notifications if you want to receive the related email notification for this thread.
[3]: https://learn.microsoft.com/en-us/answers/articles/67444/email-notifications.html