In general most developers install Apache as a service to his/her machine. But sometimes only one apache server can not fit for our wishes. For example we want to use another apache server for testing purposes or want to use another apache server with different server configuration.
Have a nice day, here is how we do it :
By default Apache installation setup creates a service with name “Apache”. So first of all we must know that we need another unique name for service. Here is a sample :
apache -i -n "Apache2" -f "Y:\Apache Server\conf2\httpd.conf"
If you write this code on command line this will create a service with name Apache2 using a apache configuration at Y:\Apache Server\conf2\httpd.conf
But you know that there can be only one listening server on a port. By default installation 80. port is reserved for Apache. So you must change the configuration of the second servers by entering a port address other than 80. For example 81.
Here you may find more details.
Tags: apache, solutions
Entries (RSS)
Thanx you very much for you simple tutorial.It really help me settling my problems.
Thanx you!! Keep your hard work