Results 1 to 9 of 9
  1. #1
    Join Date
    May 2002
    Posts
    41

    multiple sites in 1 web folder

    Hi,

    Is it possible.............

    I have a client who has 4 web sites hosted with me. Each site has a different username and site path is different for each site (site3 , 4, 5 etc)

    Is it possible to put all his sites into 1 folder i.e. site3 ?

    That would mean he could ftp into all the sites with 1 username and password, and when scripting, would only need to remember 1 site path etc.

    Any ideas/suggestions/fixes appreciated

    Thx

  2. #2
    You could have him set up his DNS at mydomain.com or some place like that and then just point his sites at the various folders.
    http://www.schooldebts.com -- Consolidate Student Loan Debt

  3. #3
    Join Date
    May 2002
    Posts
    41
    So I guess what your saying is........

    Setup web sites as normal, and then edit the "httpd.conf" file so the web site points to another folder.

    Would that affect the users on his various sites? or anything else?

  4. #4
    No, I really am saying just have them switch to mydomain.com for dns. Then they can point
    http://site1.com -> /theirfolder/site1
    http://site2.com -> /theirfolder/site2
    http://site3.com -> /theirfolder/site3

    Then all 3 sites could use /theirfolder/scripts/ if they wanted to.

    This is what I use to do before getting a dedicated server. I would just point a bunch of urls at different folders -

    Example
    http://www.logostand.com -> http://www.boberdoo.com/designlogo/
    http://www.schooldebts.com -- Consolidate Student Loan Debt

  5. #5
    Join Date
    May 2002
    Posts
    41
    Ahhhhh that just sounds way to easy

    Thx m8 I'll give it a try.

  6. #6
    Join Date
    May 2002
    Posts
    41
    Cannot seem to do that, does not allow me

    I have Raq4.... am i doing it wrong?

  7. #7
    Some people use mydomain.com as an example..........I am ACTUALLY talking about http://www.mydomain.com. They have a DNS service and something called stealth pointing (with subdirectory passing) that allows you to point multiple urls at one domain (in different folders). It is a free service that I have used for about 2 years now.

    Maybe there is a way to do virtually the same thing by playing with httpd.conf, but I don't know how.
    http://www.schooldebts.com -- Consolidate Student Loan Debt

  8. #8
    Join Date
    May 2002
    Posts
    41
    haha now I get you (mydomain.com)

    Dont fancy using that service now. But will definately take a look at it if editing the httpd.conf doesnt work.

    I've changed the 4 sites "document root" to point to the same web folder (sites are in different subfolders). Works ok at the moment. Doesnt seem to have affected anything else.

    Thx

  9. #9
    Join Date
    Sep 2002
    Location
    Paris, France
    Posts
    136
    Yes that boils down to editing your httpd.conf to instruct your Apache server to serve the same paths and different sub-directories for each domain name. Always backup your files before tweaking them, but no danger to break anything, Apache is pretty flexible - this is basically how cheap hosting providers host several hundred domain names on one machine. (A bit schematized as there may be several web servers / virtual Apache servers implied, but you get the picture).

Posting Permissions

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