Results 1 to 4 of 4
So apache is working great however my site only contains one page and one image so it's nothing useful as you guys can see.
The problem I have is that ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-01-2005 #1Just Joined!
- Join Date
- May 2004
- Location
- /US/FL/Orlando
- Posts
- 94
Apache Question/Problem
So apache is working great however my site only contains one page and one image so it's nothing useful as you guys can see.
The problem I have is that when you go to my website address which happens to be http://carlwill.dyndns.org , it then resolves to http://carlwill.dyndns.org/apache2-default/
I know my index file is located under /var/www/apache2-default/ but when I move it to /var/www/index.html , and then restart the httpd service, it will not display my index.html file.
Anyone know how to fix this so it's just under the /var/www/ directory?
- 11-01-2005 #2
Did you change your document root in your apache config file? If not, it won't know where to look for it. It is normally at the top third of the file and should be easy to spot. Change your document root, restart and you should be good to go.
Join the Open Source Revolution. Support GNU/Linux.
Find me at: www.deeksworld.com
Registered GNU/Linux User #395777
- 11-01-2005 #3Just Joined!
- Join Date
- May 2004
- Location
- /US/FL/Orlando
- Posts
- 94
I have been trying to located the document root however it seems impossible.
- 11-01-2005 #4
Well, try opening it up in your favorite text editor and search for apache2-default...that should take you to the exact line you need to change...
Join the Open Source Revolution. Support GNU/Linux.
Find me at: www.deeksworld.com
Registered GNU/Linux User #395777


Reply With Quote
