SUMMARY
This article expains the procedure involved
in migrating MailEnable IIS host header bindings from one server to another.
These commands are just for moving the domain names you have configured across
to another MailEnable server.
DETAIL
To migrate the host header bindings residing under the MailEnable web sites
involves running the Windows IIS appcmd command. The steps are outlined
below:
MailEnable WebMail:
- Open a Windows command prompt with elevated privileges (Run as
Administrator)
- Navigate to C:\Windows\System32\inetsrv
- Run the following command:
appcmd list site "MailEnable Webmail" /xml > C:\mailenablewebmail.xml
- Navigate to C:\ and copy the "mailenablewebmail.xml" to the new server to
C:\.
- On the new server open a Windows command prompt with elevated privileges
(Run as Administrator)
- Navigate to
C:\Windows\System32\inetsrv: cd C:\Windows\System32\inetsrv
- Run the following command:
appcmd set site /site.name:"MailEnable Webmail" -bindings.protocols /in <
C:\mailenablewebmail.xml
MailEnable WebAdmin:
- Open a Windows command prompt with elevated privileges (Run as
Administrator)
- Navigate to C:\Windows\System32\inetsrv
- Run the following command:
appcmd list site "MailEnable WebAdmin" /xml >
C:\mailenablewebadmin.xml
- Navigate to C:\ and copy the "mailenablewebadmin.xml" to the new server to
C:\
- On the new server open a Windows command prompt with elevated privileges
(Run as Administrator)
- Navigate to
C:\Windows\System32\inetsrv: cd C:\Windows\System32\inetsrv
- Run the following command:
appcmd set site /site.name:"MailEnable WebAdmin" -bindings.protocols /in <
C:\mailenablewebadmin.xml
MailEnable Protocols:
- Open a Windows command prompt with elevated privileges (Run as
Administrator)
- Navigate to C:\Windows\System32\inetsrv
- Run the following command:
appcmd list site "MailEnable Protocols" /xml >
C:\mailenableprotocols.xml
- Navigate to C:\ and copy the "mailenableprotocols.xml" to the new server
C:\
- On the new server open a Windows command prompt with elevated privileges
(Run as Administrator)
- Navigate to
C:\Windows\System32\inetsrv: cd C:\Windows\System32\inetsrv
- Run the following command:
appcmd set site /site.name:"MailEnable Protocols" -bindings.protocols /in
< C:\mailenableprotocols.xml