2

Someone have deleted Default Website from IIS.

How can i re-create the Exchange virtual directory for Default Website and Exchange Back End Website?

I found a command:

New-OwaVirtualDirectory -InternalUrl 'https://mail.domain.local/owa' -WebSiteName 'Default Web Site'

But i need to re-create everything like Exchange installer.

1 Answer 1

1

I Think you'd do best to reinstall/repair the Exchange installation if all of your websites are missing.

If you're only missing some of the virtualDirectorys you could rebuild them buy running the following command in Exhcange Management Shell.

New-ActiveSyncVirtualDirectory -WebSiteName "Default Web Site" -ExternalURL "https://mail.domain.local/Microsoft- Server-ActiveSync"

The same goes for the other virtualdirectorys like, OWA, ECP

New-OWAVirtualDirectory

New-ECPVirtualDirectory

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.