LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-18-2009, 08:02 AM   #1
sefarlow
LQ Newbie
 
Registered: Feb 2009
Posts: 8
Blog Entries: 1

Rep: Reputation: 0
Making Apache Aware of a WebSite


I am running Debian Lenny and have apache 2 up and running. Configured DDClient with my domain name.
How do I make Apache aware of/enable a webpage I created in /home/www ?
I have searched apache howto's and they are a bit confusing. Do I need to edit httpd.conf and what goes in it? Right now it is a 0 byte file.
 
Old 04-18-2009, 08:20 AM   #2
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,462
Blog Entries: 6

Rep: Reputation: 51
Explore To /etc/apache2/sites-enabled and edit the VirtualHost Entry
Code:
<VirtualHost>
ServerName localhost
DocumentRoot /var/www/html
ServerRoot root
Errorlog < leave this as what it is>
CustomLog < leave this too>
</VirtualHost>
Put any index.html file there under /var/www/html directory
Dont forget to restart the apache2 service.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Apache: Creating A Session-Aware Loadbalancer Using mod_proxy_balancer (Debian Etch) LXer Syndicated Linux News 0 05-31-2007 09:01 PM
Website Making Corbmaster Linux - Newbie 2 10-08-2005 12:00 PM
Making a website public IanThePetRock Linux - General 33 08-01-2005 03:41 PM
Is apache smp aware by default? Thaidog Linux - Software 1 05-13-2005 04:29 PM
i'm making a website GT I.N.C General 6 10-22-2002 04:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration