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.

adding an index.html page in Skeleton Directory

Discussion in 'General Discussion' started by mafitsi, Jan 26, 2007.

  1. mafitsi

    mafitsi Member

    Joined:
    Oct 21, 2005
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    <
    /root/cpanel3-skel
    This directory is what will be used as a skeleton for new accounts. For example if you place an index.html file in /root/cpanel3-skel/public_html, and then setup a new account, that account will have a copy of your index.html in their public_html directory.
    >

    The question is very simple...

    How can i addthe index.html page ...? where can do that...?

    Thanks
     
  2. dafut

    dafut Well-Known Member

    Joined:
    Dec 14, 2005
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    A couple ways:

    Create the file on your computer, connect to server in SSH as root, cd into /root/cpanel3-skel/public_html. Create a document called index.html in your favorite editor, paste in the html source text from the file on your computer.

    or,

    Create the file on your computer; connect by FTP and "put" the file onto the server. Connect by SSH, cd into the directory where the file was "put". Move the file to /root/cpanel3-skel/public_html as index.html.

    Don't know what your "favorite text editor" for the command line is? Do some research on: vi or pico. vi is very powerful but not so user friendly; pico does the job and gives users a shortcut menu at the bottom.

    For more info on using the command line in SSH, see the RUTE manual.
     
Loading...

Share This Page