In some setups an application is being served both through HTTP and HTTPS protocols. However, the current version of Zend Server does not provide an easy way of simultaneous application deployment or update to multiple Virtual Hosts.

This article explains how this limitation can be worked around.

Environment

Zend Server 7, 8.5.x

Apache web server

Resolution

To deploy an application to HTTP and HTTPS Virtual Hosts simultaneously, these Virtual Hosts need first to be created. You should start off as you would normally do when creating an HTTPS (SSL) Virtual Host.

Choose to use a custom Virtual Host template. The custom template needs to include both HTTP and HTTPS Virtual Hosts. Here is an example of such a template: