Hi,
Are you able to open Exchange Management Shell?Is there any error message?
If you can open EMS successfully,please run the following commands to recreate the EAC and OWA virtual directories.
Remove -EcpVirtualDirectory -Identity 'Server01\owa (Default Web Site)'
New-EcpVirtualDirectory -InternalUrl 'https://<Server01><DomainName>/ecp' -WebSiteName 'Default Web Site'
Remove -OwaVirtualDirectory -Identity 'Server01\owa (Default Web Site)'
New-OwaVirtualDirectory -InternalUrl 'https://<Server01><DomainName>/owa' -WebSiteName 'Default Web Site'
If the response 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.