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 Home Directory

Discussion in 'General Discussion' started by hotsos, Jul 28, 2006.

  1. hotsos

    hotsos Registered

    Joined:
    Jul 28, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    How can you change the home directory from public_html/ to public_html/subfolder using cpanel?
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    I don't believe this is possible through cPanel.

    Why would you want to do this?
     
  3. kerriritter

    kerriritter Active Member

    Joined:
    Oct 25, 2004
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Use Redirect

    You can use the redirect in cpanel to do this. Click the redirect icon and have it redirect /public_html/index.xxx TO /public_htmt/folder/index.xxx

    xxx is whatever extension your index page uses
     
  4. hotsos

    hotsos Registered

    Joined:
    Jul 28, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    I want to be able to do this because I have installed a cms module in a directory in public_html and have done quite a bit of development in the subdirectory, thinking that I would be able to set a new home directory.

    I don't want to do the redirect because the name of the subdirectory is not transparent. www.mydomain.com/subdirectory/index.html shows when I would like www.mydomain.com/index.html to appear even though it is in the /subdirectory folder.

    My only option may be to re-install the cms in the public_html directory.
     
Loading...

Share This Page