
January 25th, 2005, 09:08 PM
|
|
Registered User
|
|
Join Date: Jan 2005
Posts: 1
Time spent in forums: 1 h 51 m 4 sec
Reputation Power: 0
|
|
Apache 2 Basic Problem - Not using root directory
Hello everybody,
I have a very very basic problem. Im currently medium-advanced in HTML & Javascript, and thought it would be a good idea to launch my own website from here.
Im currently following a tutorial on the web on how to set up apache 2. I know nothing about it. Ive added the following to the end of the httpd config:
NameVirtualHost 127.0.0.1
NameVirtualHost *server ip*
<VirtualHost 127.0.0.1 *server ip*>
ServerName comstall.lo.com
ServerAlias www.comstall.lo.com
DocumentRoot "C:\web"
</VirtualHost>
I blocked my server ip for security reasons (its actually in ip form in the config).
Now, when i type www.comstall.com into my browser, i get a page that says that apache was successfully installed. Why is it that its not taking index.html out of C:\web as it should?
I am running windows XP
Any help would be appreciated. Thankyou
|