Zend Server Virtual Hosts

Zend Server Virtual Hosts

Creating virtual hosts in Zend Server CE is very easy and here is the method:

  • Suppose the Zend Server installation directory is C:\Program Files\Zend. Below i will refer to the install path as INSTALLDIR.
  • Open your httpd.conf file located at INSTALLDIR\Apache2\conf in a text editor, and edit the line
#Include conf/extra/httpd-vhosts.conf

to say:

Include conf/extra/httpd-vhosts.conf
  • Now goto the folder at C:\Windows\System32\drivers\etc and open the hosts file. If you havent yet set the permissions on this file, set it accordingly so that you can edit the file. Add the following lines:

This page was last modified on Wednesday, 15th April 2015 at 08:27:38 by Gary Keeling. © 2019 GKWeb Design.

Categorised as: Zend Server

GK5 Footer

and whatever