Posted by:
Tommie
(---.hsd1.ca.comcast.net)
I followed first 2 links, but now it stopped working... pages don't work on local nor over net.. below is what I have set.. I am on windows 2008 web edition
VHOSTS file
----------------
#
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:[
httpd.apache.org];
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
# Use name-based virtual hosting.
#
NameVirtualHost *:80
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
NameVirtualHost *:80
<VirtualHost *:80>
ServerName www.myhost.net
ServerAlias myhost.net.net domain
DocumentRoot C:/wamp/www/myhost
ErrorLog C:/wamp/www/myhost/logs/error.log
CustomLog C:/wamp/www/myhost/logs/access.log common
</VirtualHost>
<VirtualHost *:80>
ServerName djparty.myhost.net
ServerAlias djparty
DocumentRoot C:/wamp/www/djparty
ErrorLog C:/wamp/www/djparty/logs/error.log
CustomLog C:/wamp/www/djparty/logs/access.log common
</VirtualHost>
<VirtualHost *:80>
ServerName localhost
DocumentRoot C:/wamp/www
ErrorLog C:/wamp/www/logs/error.log
CustomLog C:/wamp/www/logs/access.log common
</VirtualHost>
--------------------
=====================
HOSTS files
---------------------------
127.0.0.1 localhost
127.0.0.1 fiestahost
127.0.0.1 djparty
===========================
HTTPD Conf
----------------------------
# Virtual hosts
Include conf/extra/httpd-vhosts.conf
yfastud Wrote:
-------------------------------------------------------
> to setup access, follow this
> [
blog.jlbn.net]
>
> to setup vh, follow this
> [
blog.jlbn.net]
>
> to setup dns, follow this
> [
blog.jlbn.net]