Link to home
Start Free TrialLog in
Avatar of AIGS
AIGSFlag for Australia

asked on

Having trouble setting Apache to recognise 2 vitual sites (on different drive).

I want to have an intranet and membership in-house website.

Windows Server 2016, Apache2.4 installed and working, PHP5.6 installed and working, both installed on C:.

Apache not recognising the two sites from the same IP address.

Here is what I have in Apache Conf file:
<VirtualHost *:80>
ServerName intranet
DocumentRoot "K:/www/Intranet"
</VirtualHost>

<VirtualHost *:80>
ServerName membership
DocumentRoot "K:/www/Membership"
</VirtualHost>

Greatful for any assistance.
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

This is not really an answer, just a suggestion.  Consider using a pre-built stack from Bitnami.  Someone else can handle the configuration issues, and all you have to do is spin up a VM for each server you want to emulate.
https://bitnami.com/stacks
ASKER CERTIFIED SOLUTION
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AIGS

ASKER

Thanks for your help.