1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Where to upload websiite files... :/

Discussion in 'Site & Server Administration' started by Whitey, Jul 6, 2008.

  1. #1
    Hey

    I just finished installing Apache 2 on my dedi and I dont know where to put my website files.

    /var/wwww/html doesn't exist, and when I try /usr/local/apache/htdocs it doesn't work either.

    Can someone shed some light on this? Thanks.
     
    Whitey, Jul 6, 2008 IP
  2. Whitey

    Whitey Active Member

    Messages:
    1,386
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    80
    #2
    Forgot to say, my document root is

    DocumentRoot "/usr/local/apache/htdocs"

    As set in the Apache conf file.
     
    Whitey, Jul 6, 2008 IP
  3. calum

    calum Peon

    Messages:
    2,821
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    0
    #3
    In /var/www/html

    If you use cPanel is /home/username/public_html

    If it isn't any of those, open you your httpd.conf file in your apache/conf directory and find: "DocumentRoot"

    That is the path to it.

    EDIT: just saw you know your document root, just upload the files to that.
     
    calum, Jul 6, 2008 IP
  4. hoodvs

    hoodvs Peon

    Messages:
    39
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Create your docroot, upload your files. Or put the directory where you want, change your Docroot accordingly, and have apache re-read it's configuration. (probably apachectl graceful)
     
    hoodvs, Jul 7, 2008 IP