Server Hosting Path Question

Discussion in 'Web Hosting' started by jawinn, Dec 20, 2006.

  1. #1
    How can I tell the path of the http directory on a server that creates virtual hosts?

    I have a dedicated server (my first one) running Linux that creates virtual hosts through Plesk. I am migrating a forum over to it. My problem is that I need to know the directory path to the forum. How do I determine this? It was simple on the shared hosting account; but on the server it is eluding me.

    thx,
     
    jawinn, Dec 20, 2006 IP
  2. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Can you read /etc/httpd/httpd.conf directly? The paths are stored in there.
     
    T0PS3O, Dec 20, 2006 IP
  3. jawinn

    jawinn Active Member

    Messages:
    1,024
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    88
    #3
    Yes i can but what am I looking for?

    I see /var/www/html for domain root. Would that be it?

    What would the default path be if I were hosting "domain.com"?
     
    jawinn, Dec 20, 2006 IP
  4. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Domain root would be it yes.

    My httpd.conf file has like 20 domains in it and my folders are structered like:

    /var/www/domain1.com/
    /var/www/domain2.com/

    Each virtual domain in httpd.conf obviosuly referencing to the corresponding folder.
     
    T0PS3O, Dec 20, 2006 IP