Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    help with /var/www/html/

    i have my apache running. i tested it from the command line, and the browser. now how do i create a webpage. i know html very well, but i dont where to insert it and where to save the webpages.

  2. #2
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    find the document root (I think /var/www/html in your case, but in others it can be /var/www/htdocs), and put the website in that dicectory, and make one file named index.html (or symlink index.html to another file) and this will be the file seen when you go to the / of your site, e.g.
    Registered Linux User #371543!
    Get force-get May The Source Be With You

  3. #3
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Nottingham, England
    Your apache servers httpd.conf file will tell you where the document root is, it gets declared near the top normally.
    Linux user #126863 - see

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts