Wondering where to upload files to for a subdomain on a VPS

Discussion in 'Site & Server Administration' started by michiganfootball20, Mar 9, 2008.

  1. #1
    hi. yeah the title pretty much explains my situation. any help?
     
    michiganfootball20, Mar 9, 2008 IP
  2. LittleJonSupportSite

    LittleJonSupportSite Peon

    Messages:
    386
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Well no this does not explain your situation at all.

    Basically if you make a subdomain then there should be a mount point created for that sub domain as well.

    This location is set by YOU.

    So in my case I run a web hosting company, I allow my users to create the main domain.

    Then each subdomain that is created is made as such

    / == home dir

    /htdocs/ == www accesible for main domain.
    /cgi-bin/ == www scripts
    /logs/ == weblogs
    /backups/ == nightly backups

    They create a subdomain called test so now i have:

    /htdocs/ /cgi-bin/ logs/ backups/ /test/

    Under test I have:

    /htdocs/
    /cgi-bin/

    The files belong in /test/htdocs/ if they are going to be public www files for that domain.

    Does this make sense?
     
    LittleJonSupportSite, Mar 9, 2008 IP
    michiganfootball20 likes this.
  3. michiganfootball20

    michiganfootball20 Peon

    Messages:
    536
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #3
    makes perfect sense but im not sure if my vps operates in that same fashion
     
    michiganfootball20, Mar 9, 2008 IP
  4. michiganfootball20

    michiganfootball20 Peon

    Messages:
    536
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #4
    yeah i just checked and my vps doesnt offer me a choice of where the new directory is. or else this thread wouldnt be open. i honestly have no clue where i am supposed to upload my files too.
     
    michiganfootball20, Mar 9, 2008 IP
  5. michiganfootball20

    michiganfootball20 Peon

    Messages:
    536
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #5
    nevermind i just found it. thanks for the help tho. rep added
     
    michiganfootball20, Mar 9, 2008 IP