Hey, next time introduce yourself! I had no idea…
No dude, the stalking is wayy more fun. : P
lol…
yes next time i will be more polite, and introduce my self proper…
ok lets see if i can do this
in my host file
127.0.0.1 localhost
209.145.106.99 www.ghostintheshell.ca
209.145.106.99 desknow.ghostintheshell.ca
209.145.106.99 home.ghostintheshell.ca
209.145.106.99 davidwatson.no-ip.com
and in my httpd file i would do this to have subdomains for ghostintheshell.ca for example.
home.ghostintheshell.ca
[code]NameVirtualHost 209.145.106.99:80
<VirtualHost 209.145.106.99:80>
ServerName www.ghostintheshell.ca
ServerAlias ghostintheshell.ca *. ghostintheshell.ca
DocumentRoot \www\webroot\
<VirtualHost 209.145.106.99:80>
ServerName desknow.ghostintheshell.ca
DocumentRoot \www\webroot\desknow
<VirtualHost 209.145.106.99:80>
ServerName home.ghostintheshell.ca
DocumentRoot \www\webroot\home
[/code]
ok that worked but what i noticed is that both websites are in the webroot called webroot can i have other webroots as any website can be accsess from ghostintheshellca/website1 …ghostintheshell.ca/website 2
is that changed in httpd
[code]###*********************************************************
###* DeveloperSide.NET *
###* http://www.devside.net *
###* admin@devside.net *
###* v1.14 *
###*********************************************************
Listen 80
ServerRoot "/www/Apache2"
DocumentRoot “/www/webroot”
ServerName localhost:80
ServerAdmin admin@localhost
ServerSignature On
ServerTokens Full[/code]
under DocumentRoot "/www/webroot"
do I make another below it
DocumentRoot “/www/webroot2”
thanks