+ Reply to Thread
Results 1 to 5 of 5

Thread: SubDomain directories
      
   

  1. #1
    Ogeid is offline Corporal
    Join Date
    Dec 2006
    Location
    Spain
    Posts
    12

    Default SubDomain directories

    Hi all!
    I have a problem with the subdomain directories. I like to have a clean server, with all the folders in these places, but my problem is that just now my main directory is full of messy for the next reason: I have buy some domains target to my vodahost, so now my main directory is with all the folder and files of my main domain and also with the folders for my addon domains. Ok for my this is not the real problem, but i would prefer to put all my new domains folders in a common folder name "webs" but anyway, my big problem is when i create a subdomain for some of this new domains that i have bought it, because the folder that cpanel create are not inside of the folder of that domain, it appears in the main directory of my main domain! So now when in see my main folder of my server i have:
    -All the folders and files from my main domain
    -Some folders for the subdomains of that domain
    -A couple of folders for my new domains
    -And also all the subdomains folders for these new domains

    So as you can imagine that is a caos! I like to have all the things in their place, but now i find that in the main folder i have a completly web site (the main domain) and some folders with the new domains but the subdomains of these new domains are not inside of these folders, are in the same path than the main website
    My question is, it is possible to say to cpanel where i can create the folder how has the information of the subdomains created? Because you can redirect your subdomain to some url, but the folder with cgi-bin continues in the main directory. And if is not possible does anybody who has in the same situation know how can i put some order in all that messy?

  2. #2
    dougnez's Avatar
    dougnez is offline Brigadier General
    Join Date
    Aug 2006
    Location
    Midwest USA
    Posts
    1,769

    Smile Re: SubDomain directories

    Hi Ogeid... That's how it goes on the server... Each domain and addon domain has it's own folder filled with it's files and images... To clean up my mess sometimes I will delete a folder and everything inside... Then create a new folder with the same name.. and republish all the pages... I hope that helps... Doug

  3. #3
    Ogeid is offline Corporal
    Join Date
    Dec 2006
    Location
    Spain
    Posts
    12

    Default Re: SubDomain directories

    Sorry man but i think that i havenīt understood you (probably for my english... :)
    I want to have something like that:
    one folder for each addon domain (as cpanel creates when i addon a new domain but i would prefer specify the directory but anyway, doesnīt matter...) and the most important, when i create a subdomain for it, the folder that cpanel create i want to place it inside of the folder of the addon domain, not inside of public_html. Ok, then i can go to cpanel and say "Setup redirection" and change it, but the folder created inside of public_html with a cgi-bin folder inside continues in public_html . Better now? I hope
    Thanks

  4. #4
    LadyEye's Avatar
    LadyEye is offline General & Forum Moderator
    Join Date
    Jun 2006
    Location
    Canada
    Posts
    10,548

    Default Re: SubDomain directories

    Quote Originally Posted by Ogeid
    Sorry man but i think that i havenīt understood you (probably for my english... :)
    I want to have something like that:
    one folder for each addon domain (as cpanel creates when i addon a new domain but i would prefer specify the directory but anyway, doesnīt matter...) and the most important, when i create a subdomain for it, the folder that cpanel create i want to place it inside of the folder of the addon domain, not inside of public_html. Ok, then i can go to cpanel and say "Setup redirection" and change it, but the folder created inside of public_html with a cgi-bin folder inside continues in public_html . Better now? I hope
    Thanks
    Hi Ogeid

    If you want to place the folder that cpanel creates inside of the folder of the add on domain, simply change that direction in the drop down menu when you are adding the subdomain ... the public_html directory is the folder for your main domain, all other folders are either your add on domains or subdomains, so you can put a subdomain in one of your add on domains, just by choosing that domain name instead in the drop down menu ... keeping in mind, the subdomain will then be part of the add on domains' url ...

    Is that what you mean??

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    07031847328 / United Kingdom

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)



  5. #5
    Ogeid is offline Corporal
    Join Date
    Dec 2006
    Location
    Spain
    Posts
    12

    Default Re: SubDomain directories

    Hi LadyEye!
    When i go to Subdomain in my cpanel and i try to create a new one, i write the name and then, i have to choose a domain of my addon domains or my main domain, then, the folder is created in the public_html directory :(
    I put some photos of my cpanel with my main domain (somosleon.com) and 3 addon domains of example (cars.com, music.com and tv.com) and these subdomains salsa.music.com; mp3.music.com; contact.tv.com and stereo.cars.com:



    As you can see, there are subdomains of the main domain (somosleon.com) and also of my addon domains (cars.com, music.com and tv.com) and all of them are created in public_html/cars; public_html/music; public_html/tv; public_html/contact... domains and subdomains are created in public_html. Even using the "Setup Redirection" option (in salsa.music.com) the folder continues in public_html

    So that i want is put all the folders of the subdomains inside of his own domain folder. That is:
    contact.tv.com (public_html/tv/contact) instead of contact.tv.com (public_html/contact)
    Is that possible LadyEye? Thank you

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49