I am newbie to hosting. Please help

Discussion in 'Web Hosting' started by jacky8, Jul 9, 2008.

  1. #1
    I bought a multiple domain hosting package.
    Do i have to put all the files, index files in the public_html folder for all the domains i have?? If yes then it will be a big mess managing and identifying the files. Also if i have to delete a website, i will need to identify each file for a domain.
    I want to host a script at the domain. If i put all the files of the script directly in the public_html folder and not in a subfolder of publichtml, then it will be difficult to manage everything. It wil look horrible there. Also it will be very difficult for me to delete anything.. (its already been actually)

    Is there a way by which i can better arrange stuff in the public_html folder?
    Is there a way by which i can put files in a sub folder of public_html and still access that website by its www.domain.com and not by www.domain.com/subfolder

    Thanks in advance for your detailed answer. "Detailed" because a brief answer will be difficult to pick up by my brain i guess..
     
    jacky8, Jul 9, 2008 IP
  2. jacky8

    jacky8 Active Member

    Messages:
    1,416
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    80
    #2
    can anyone help??
     
    jacky8, Jul 9, 2008 IP
  3. 50plus

    50plus Guest

    Messages:
    234
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Start by going to your control panel. Your host should have given you an URL for that.
    There you can set up your different domains.

    Now depending on your host's server setup you will have to FTP (upload)
    each site to a specific address, usually yoursite.com and password or
    one FTP address that gives subdivisions on the server for each domain that you have set up.

    I hope this makes sense to you ;)
     
    50plus, Jul 9, 2008 IP
  4. jacky8

    jacky8 Active Member

    Messages:
    1,416
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    80
    #4
    I uploaded the script for the site into public_html. It created a big mess. If i had uploaded the script into a folder named myscript, i would have to access it by mysite.com/myscript
    I want to avoid the mess in the public_html folder and still access my site directly by mysite.com
     
    jacky8, Jul 9, 2008 IP
  5. 50plus

    50plus Guest

    Messages:
    234
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Could you explain the "mess" a bit better.
    I don't understand why you think that using mysite.com/myscript would be better, would you then not have the "mess" in mysite.com/myscript ?
     
    50plus, Jul 9, 2008 IP
  6. jacky8

    jacky8 Active Member

    Messages:
    1,416
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    80
    #6
    by 'mess' i mean problematic, crowdy, messy, hustle and bustle, too many files there and i dont know which file has what use.

    I hope you got it.
     
    jacky8, Jul 9, 2008 IP
  7. Jhar

    Jhar Peon

    Messages:
    318
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #7
    You should put the files for each website/domain in its own subdirectory of public_html (public_html/mysite1, public_html/mysite2, etc..) In your hosting control panel when you add domains it should ask where the domain should be "pointed" to and it is here that you will point it at the subdirectories. Therefore you can access each site just by entering the url (www.mysite1.com, www.mysite2.com, etc.) Hope that helps.
     
    Jhar, Jul 9, 2008 IP
  8. jacky8

    jacky8 Active Member

    Messages:
    1,416
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    80
    #8
    Oh thanks a lot Jhar, i hope i will be able to manage now.
     
    jacky8, Jul 10, 2008 IP
  9. nastynappy

    nastynappy Banned

    Messages:
    499
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #9
    well , if you have multiple domains, you need to add them as "addon" domains.
    while adding a domain, lets say domain.com, it will ask a directory to point it to.
    select public_html/domain.com , and then upload any files in public_html/domain.com directory, it will be accessable by http://domain.com url

    hope it helps.
     
    nastynappy, Jul 10, 2008 IP