@ahmed sharkaway
It may be caused by the zone configured under web application does not match the zone of alternate access mappings you have configured.
For example, you may have added a new access mappings corresponding to custom zone. You need to change the zone to be custom under the web application.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.