.htaccess Change Root Directory for URL

Discussion in 'Site & Server Administration' started by Ascendancy, Nov 24, 2009.

  1. #1
    I have a site (let's say www.example.com) and I want to change where it looks for the root files. Currently it looks in /public_html/ but I would like it to point to /public_html/folder1/

    I am trying to figure out how to do this with my .htaccess file, but to no avail. Can anybody help out? I'm sure it's something simple
     
    Ascendancy, Nov 24, 2009 IP
  2. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #2
    Do you have access to apache config file ?? is this a vps or dedicated server ?
     
    Bohra, Nov 24, 2009 IP