Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Oct 2005
    Posts
    8

    Default adding an index.html page in Skeleton Directory

    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. #2
    Member dafut's Avatar
    Join Date
    Dec 2005
    Posts
    75

    Default

    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.

Similar Threads & Tags
Similar threads

  1. want to switch hom page from index.html to index.php
    By websoftbiz in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-12-2008, 07:14 PM
  2. Which page do you want to load first index.html or index.htm?
    By BianchiDude in forum cPanel and WHM Discussions
    Replies: 22
    Last Post: 04-10-2008, 09:36 AM
  3. Default index.html page
    By rootuser in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-22-2006, 03:38 AM
  4. Is this the way to add an index.html page
    By nikaian in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-10-2005, 02:38 PM
  5. Can I change one directory to look for index.php before .html?
    By noimad1 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-29-2004, 02:42 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube