Hello @Mohit Kumar Sharma ,
Application gateway supports the "host" server variable.
host : In this order of precedence: the host name from the request line, the host name from the Host request header field, or the server name matching a request. Example: In the request http://contoso.com:8080/article.aspx?id=123&title=fabrikam, host value will be is contoso.com
And you can update this in Application gateway using header rewrite.
Please refer : https://learn.microsoft.com/en-us/azure/application-gateway/rewrite-http-headers-url#server-variables
Kindly let us know if the above helps or you need further assistance on this issue.
----------------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.