Apache2 - how to configure 2 virtual hosts (name based)
Posted on 2005-04-11
I am new to Linux, started a week ago to install debian woody than decided to go with Sarge. All went reasonably OK with the ADLS proxy IPTables Apache, etc. Now I have decided to install apache2. So I did. And here I am trying to configure two virtual hosts.
Primarily I cant beleive the way the information is presented in the documentation, but I can't even find what I need...
The old Apache config was simple. Two sections related to the two virtual hosts had to be added in httpd.conf and that was it....
Now I dont even know where should it go. The information I have found (in doc and exaples on the net ) is conflicting at best
Consider I have two domains, domain1.com.au and domain2.com.au. Both are set up on the same IP address and ports, what and where should go... assuming that I have a completely clean install of Apache2 on Debian Sarge.