cat /etc/apache2/httpd.conf
## Owner Description ##
# Tim Way
# Data Services Inc.
# httpd.conf
# 06 May 2006
# This file is the base configuration file for the httpd
# (apache 2.2.2) server. it links to all other configuration
# files and is loaded upon starting the server process
## Explanation of File System of Configuration Files
# /srv/www
# - the root directory also known as the server PREFIX
# upon compilation.
# /usr/local/apache2/conf
# - contains all configuration files for the httpd (apache
# 2.2.2) server. contains sub-directory for extra
# configuration files
# /usr/local/apache2/conf/virtualhosts
# - contains all configuration files for virtualhosts.
# this directory contains a file "virtualhosts.conf"
# that links to other individual configuration files
# for each site or virtual host.
## link to apache 2.2.2 modules configuration
Include /etc/apache2/conf/modules.conf
## link to apache 2.2.2 binding configuration
Include /etc/apache2/conf/binding.conf
## link to apache 2.2.2 user and group settings
Include /etc/apache2/conf/user.conf
## link to virtual host configuration files
Include /etc/apache2/conf/virtualhosts/virtualhosts.conf
----------------------------------------------------------
cat /etc/apache2/conf/modules.conf
# load the mod_dir module for "DirectoryIndex" option
<IfModule !mod_dir>
Loadmodule dir_module /usr/lib/apache2/mod_dir.so
</IfModule>
----------------------------------------------------------
cat /etc/apache2/conf/binding.conf
## Owner Description ##
# Tim Way
# Data Services Inc.
# 06 May 2006
# binding.conf
# this file describes the initial binding settings for
# the httpd (apache 2.2.2) server
## configuration directives
# configures the basic port and ip address that the
# server will listen for requests on. the following line
# configures apache 2.2.2 to listen on the external
# address/interface on port 80 (default www port).
Listen 70.169.145.87:80
# set the servername for the main server.
# (charger.shadowrp.com ... the hostname)
ServerName charger.shadowrp.com
----------------------------------------------------------
cat /etc/apache2/conf/virtualhosts/virtualhosts.conf
## Owner Description ##
# Tim Way
# Data Services Inc.
# 06 May 2006
# virtualhosts.conf
# sets the basics for all virtual hosts and then links
# to each virtual hosts actual configuration file
## configuration directives
# enable name based virtual hosting
NameVirtualHost 70.169.145.87:80
# enable the virtual hosts for shadowrp.com
Include /etc/apache2/conf/virtualhosts/shadowrp.com/shadowrp.com.conf
# enable the virtual hosts for shadowrp.net
Include /etc/apache2/conf/virtualhosts/shadowrp.net/shadowrp.net.conf
# enable the virtual hosts for tgfas.com
Include /etc/apache2/conf/virtualhosts/tgfas.com/tgfas.com.conf
# enable the virtual hosts for cctrunks.com
Include /etc/apache2/conf/virtualhosts/cctrunks.com/cctrunks.com.conf
----------------------------------------------------------
cat /etc/apache2/conf/virtualhosts/tgfas.com/www.tgfas.com.conf
## Owner Description ##
# Tim Way
# Data Services Inc.
# 06 May 2006
# www.tgfas.com.conf
# the virtual host configuration for www.tgfas.com
## configuration directives
# define the name based virtual host
<VirtualHost 70.169.145.87:80>
# define the server name (www.tgfas.com)
ServerName www.tgfas.com
# define the DocumentRoot (file storage location)
DocumentRoot /home/tgfas.com/www/www
# define the default document for the server to
# display
DirectoryIndex home.html
# close the virtual host configuration
</VirtualHost>
----------------------------------------------------------
I only included one virtual host config since they are all virtually the same;
any help is much appreciated!
Thank you!