will do, I also have another problem, since going to the hosts( I have 3) can post the host config file with all 3 hosts, I type in the ip address of the server, then the folder for the site, and when I just type in the ip address it defaults to the main site, I can't access the other 2 sites anymore, ie 192.168.1.10/rooksystems, 192.168.1.10/onebyte, or 192.168.1.10/stories, It defaults to the rooksystems site and I can't access any of the other 2 atm.
here is the hosts file:
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
192.168.1.10/rooksystems rooksystems.no-ip.biz
192.168.1.10/stories superstories.no-ip.biz
192.168.1.10/onebyte onebyte.no-ip.biz
this is for the other machines on my network, for the server instead of 192.168.1.10 it is 127.0.0.1
and here is the virtual hosts 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:http://httpd.apache.org/docs/2.2/vhosts/>
# 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.
#
##<VirtualHost *:80>
## ServerAdmin
webmaster@dummy-host.example.com
## DocumentRoot /www/docs/dummy-host.example.com
## ServerName dummy-host.example.com
## ServerAlias
www.dummy-host.example.com
## ErrorLog @rel_logfiledir@/dummy-host.example.com-error_log
## CustomLog @rel_logfiledir@/dummy-host.example.com-access_log common
##</VirtualHost>
##<VirtualHost *:80>
## ServerAdmin
webmaster@dummy-host2.example.com
## DocumentRoot /www/docs/dummy-host2.example.com
## ServerName dummy-host2.example.com
## ErrorLog @rel_logfiledir@/dummy-host2.example.com-error_log
## CustomLog @rel_logfiledir@/dummy-host2.example.com-access_log common
##</VirtualHost>
<VirtualHost 127.0.0.1:80>
ServerName localhost
DocumentRoot "D:/xampp/htdocs"
</VirtualHost>
NameVirtualHost *:80
<VirtualHost *:80>
ServerName rooksystems.no-ip.biz
ServerAlias
www.rooksystems.no-ip.biz
ServerAdmin
admin@rooksystems.no-ip.biz
DocumentRoot "D:/xampp/htdocs/rooksystems"
<Directory "D:/xampp/htdocs/rooksystems" >
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
CustomLog D:/xampp/htdocs/rooksystems/accesslog combined
ErrorLog D:/xampp/htdocs/rooksystems/error.log
</VirtualHost>
<VirtualHost *:80>
ServerName superstories.no-ip.biz
ServerAlias
www.superstories.no-ip.biz
ServerAdmin
admin@superstories.no-ip.biz
DocumentRoot "D:/xampp/htdocs/stories"
<Directory "D:/xampp/htdocs/stories" >
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
CustomLog D:/xampp/htdocs/stories/accesslog combined
ErrorLog D:/xampp/htdocs/stories/error.log
</VirtualHost>
<VirtualHost *:80>
ServerName onebyte.no-ip.biz
ServerAlias
www.onebyte.no-ip.biz
ServerAdmin
admin@onebyte.no-ip.biz
DocumentRoot "D:/xampp/htdocs/onebyte"
<Directory "D:/xampp/htdocs/onebyte" >
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
CustomLog D:/xampp/htdocs/onebyte/accesslog combined
ErrorLog D:/xampp/htdocs/onebyte/error.log
</VirtualHost>
as I am usning I don't use www. in my addresses, you just use
http://rooksystems.no-ip.biz or similar depending on what site
so do I need to take the www. parts out of the virtual config
as far as the networking goes, I have the network all configured via static, unless someone uses vpn to connect to my network, then they are dhcp. I know how to do networking, have been doing it for a few years now, but this is the first time I have ever done anything like this, tried clearing the cash didn't work, and I only have 1 ip address to my server so how would I bind the container to the ip address if my modem is on dynamic addressing?