The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

changing users public_html directory

Discussion in 'General Discussion' started by anand, Jun 7, 2010.

  1. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Hi,

    I have a client who needs to host hundred odd websites, which need to run out of the same code base. Now all these need to point to the same public_html and run from the same. The code them based on the domain name sends the customized output to the browser.

    I tried to look at apache templates to see if i could change the location, but can't seem to find anything. Is there a way to tell apache to use a specific public_html directory for each site it creates ?

    Thanks
     
  2. vavayi

    vavayi Member

    Joined:
    Aug 4, 2008
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    You mean shring a folder for all websites ? or you want to show same content on all websites.. so use park domain option aty cpanel
     
  3. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Hmm... didn't think about park domain. Let me try and see if it works for the client. The code base basically based on the domain shows different content.

    Thanks.
     
  4. eth00

    eth00 Well-Known Member
    PartnerNOC

    Joined:
    Mar 30, 2003
    Messages:
    723
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    NC
    cPanel Access Level:
    Root Administrator
    If that is the case parked domain should be exactly what you need :)
     
  5. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Thanks. Have asked my client to try to use it and see.
     
Loading...

Share This Page