Hi...
I need a step by step assistance to make subdomain for my Webserver.
Can anyone guide me how to do that?
my domain name is stoll.nu
Thanks!
NameVirtualHost *:80
#This is the first VHOST for you content stoll.nu
#change the path to your pathes of content
<VirtualHost *:80>
ServerName stoll.nu
ServerAlias www.stoll.nu
ServerAdmin webmaster@stoll.nu
DocumentRoot c:/xampp/htdocs/stollnu/
<Directory "c:/xampp/htdocs/stollnu">
AllowOverride All
Options IncludesNoExec
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
#This is the first SUBdomain with his own Path for content
<VirtualHost *:80>
ServerName sub1.stoll.nu
ServerAlias www.sub1.stoll.nu
ServerAdmin webmaster@stoll.nu
DocumentRoot c:/xampp/htdocs/sub1stollnu/
<Directory "c:/xampp/htdocs/sub1stollnu">
AllowOverride All
Options IncludesNoExec
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
#This ist the next SUBdomain with own Path of content
<VirtualHost *:80>
ServerName sub2.stoll.nu
ServerAlias www.sub2.stoll.nu
ServerAdmin webmaster@stoll.nu
DocumentRoot c:/xampp/htdocs/sub2stollnu/
<Directory "c:/xampp/htdocs/sub2stollnu">
AllowOverride All
Options IncludesNoExec
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
# 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>
#This is the first SUBdomain with his own Path for content
<VirtualHost *:80>
ServerName sub1.stoll.nu
ServerAlias www.sub1.stoll.nu
ServerAdmin webmaster@stoll.nu
DocumentRoot c:/program/xampp/htdocs/sub1stollnu/
<Directory "c:/program/xampp/htdocs/sub1stollnu/">
AllowOverride All
Options IncludesNoExec
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
[Tue Jun 13 18:09:23 2006] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Tue Jun 13 18:09:23 2006] [notice] Child 5940: Exit event signaled. Child process is ending.
[Tue Jun 13 18:09:24 2006] [notice] Child 5940: Released the start mutex
[Tue Jun 13 18:09:25 2006] [notice] Child 5940: Waiting for 250 worker threads to exit.
[Tue Jun 13 18:09:26 2006] [notice] Child 5940: All worker threads have exited.
[Tue Jun 13 18:09:26 2006] [notice] Child 5940: Child process is exiting
[Tue Jun 13 18:09:26 2006] [notice] Parent: Child process exited successfully.
[Tue Jun 13 18:09:36 2006] [notice] Apache/2.2.0 (Win32) DAV/2 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_autoindex_color PHP/5.1.2 configured -- resuming normal operations
[Tue Jun 13 18:09:36 2006] [notice] Server built: Dec 1 2005 18:36:53
[Tue Jun 13 18:09:36 2006] [notice] Parent: Created child process 3060
[Tue Jun 13 18:09:37 2006] [notice] Child 3060: Child process is running
[Tue Jun 13 18:09:37 2006] [notice] Child 3060: Acquired the start mutex.
[Tue Jun 13 18:09:37 2006] [notice] Child 3060: Starting 250 worker threads.
[Tue Jun 13 18:09:37 2006] [notice] Child 3060: Starting thread to listen on port 443.
[Tue Jun 13 18:09:37 2006] [notice] Child 3060: Starting thread to listen on port 80.
[Tue Jun 13 18:09:50 2006] [error] [client 83.227.184.134] (20023)The given path was above the root path: Cannot map GET / HTTP/1.1 to file
[Tue Jun 13 18:09:50 2006] [error] [client 83.227.184.134] (20023)The given path was above the root path: Cannot map GET / HTTP/1.1 to file
[Tue Jun 13 18:09:50 2006] [error] [client 83.227.184.134] (20023)The given path was above the root path: Cannot map GET / HTTP/1.1 to file
[Tue Jun 13 18:09:50 2006] [error] [client 83.227.184.134] (20023)The given path was above the root path: Cannot map GET / HTTP/1.1 to file
[Tue Jun 13 18:09:50 2006] [error] [client 83.227.184.134] (20023)The given path was above the root path: Cannot map GET / HTTP/1.1 to file
[Tue Jun 13 18:09:50 2006] [error] [client 83.227.184.134] (20023)The given path was above the root path: Cannot map GET / HTTP/1.1 to file
[Tue Jun 13 18:09:50 2006] [error] [client 83.227.184.134] (20023)The given path was above the root path: Cannot map GET / HTTP/1.1 to file
[Tue Jun 13 18:09:50 2006] [error] [client 83.227.184.134] (20023)The given path was above the root path: Cannot map GET / HTTP/1.1 to file
[Tue Jun 13 18:09:50 2006] [error] [client 83.227.184.134] (20023)The given path was above the root path: Cannot map GET / HTTP/1.1 to file
# 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>
NameVirtualHost *:80
#This is the first VHOST for you content stoll.nu
#change the path to your pathes of content
<VirtualHost *:80>
ServerName stoll.nu
ServerAlias www.stoll.nu
ServerAdmin webmaster@stoll.nu
DocumentRoot c:/program/xampp/htdocs/
<Directory "c:/program/xampp/htdocs/">
AllowOverride All
Options IncludesNoExec
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
#This is the first SUBdomain with his own Path for content
<VirtualHost *:80>
ServerName sub1.stoll.nu
ServerAlias www.sub1.stoll.nu
ServerAdmin webmaster@stoll.nu
DocumentRoot c:/program/xampp/htdocs/sub1stollnu/
<Directory "c:/program/xampp/htdocs/sub1stollnu">
AllowOverride All
Options IncludesNoExec
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
#This ist the next SUBdomain with own Path of content
<VirtualHost *:80>
ServerName sub2.stoll.nu
ServerAlias www.sub2.stoll.nu
ServerAdmin webmaster@stoll.nu
DocumentRoot c:/program/xampp/htdocs/sub2stollnu/
<Directory "c:/program/xampp/htdocs/sub2stollnu">
AllowOverride All
Options IncludesNoExec
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
[Wed Jun 14 08:15:24 2006] [error] [client 66.249.72.35] File does not exist: C:/Program/xampp/htdocs/robots.txt
[Wed Jun 14 08:15:52 2006] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Wed Jun 14 08:15:52 2006] [notice] Child 3312: Exit event signaled. Child process is ending.
[Wed Jun 14 08:15:53 2006] [notice] Child 3312: Released the start mutex
[Wed Jun 14 08:15:54 2006] [notice] Child 3312: Waiting for 250 worker threads to exit.
[Wed Jun 14 08:15:56 2006] [notice] Child 3312: All worker threads have exited.
[Wed Jun 14 08:15:56 2006] [notice] Child 3312: Child process is exiting
[Wed Jun 14 08:15:58 2006] [notice] Parent: Child process exited successfully.
[Wed Jun 14 08:16:19 2006] [notice] Apache/2.2.0 (Win32) DAV/2 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_autoindex_color PHP/5.1.2 configured -- resuming normal operations
[Wed Jun 14 08:16:20 2006] [notice] Server built: Dec 1 2005 18:36:53
[Wed Jun 14 08:16:20 2006] [notice] Parent: Created child process 5780
[Wed Jun 14 08:16:22 2006] [notice] Child 5780: Child process is running
[Wed Jun 14 08:16:22 2006] [notice] Child 5780: Acquired the start mutex.
[Wed Jun 14 08:16:22 2006] [notice] Child 5780: Starting 250 worker threads.
[Wed Jun 14 08:16:22 2006] [notice] Child 5780: Starting thread to listen on port 443.
[Wed Jun 14 08:16:22 2006] [notice] Child 5780: Starting thread to listen on port 80.
[Wed Jun 14 08:16:22 2006] [error] [client 83.227.184.134] (20023)The given path was above the root path: Cannot map GET / HTTP/1.1 to file
[Wed Jun 14 08:16:23 2006] [error] [client 83.227.184.134] (20023)The given path was above the root path: Cannot map GET / HTTP/1.1 to file
[Wed Jun 14 08:16:23 2006] [error] [client 83.227.184.134] (20023)The given path was above the root path: Cannot map GET / HTTP/1.1 to file
[Wed Jun 14 08:16:23 2006] [error] [client 83.227.184.134] (20023)The given path was above the root path: Cannot map GET / HTTP/1.1 to file
[Wed Jun 14 08:16:23 2006] [error] [client 83.227.184.134] (20023)The given path was above the root path: Cannot map GET / HTTP/1.1 to file
[Wed Jun 14 08:16:23 2006] [error] [client 83.227.184.134] (20023)The given path was above the root path: Cannot map GET / HTTP/1.1 to file
[Wed Jun 14 08:16:23 2006] [error] [client 83.227.184.134] (20023)The given path was above the root path: Cannot map GET / HTTP/1.1 to file
[Wed Jun 14 08:16:23 2006] [error] [client 83.227.184.134] (20023)The given path was above the root path: Cannot map GET / HTTP/1.1 to file
[Wed Jun 14 08:16:24 2006] [error] [client 83.227.184.134] (20023)The given path was above the root path: Cannot map GET / HTTP/1.1 to file
error.log wrote:The given path was above the root path: Cannot map GET / HTTP/1.1 to file
Users browsing this forum: No registered users and 126 guests