Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Feb 2006
    Location
    Kathmandu,Nepal
    Posts
    3

    Lightbulb Add index.php or index.htm in new domain

    Hi,
    Is there a way to automatically create index file when we add a new domains. Default it doesnot create the index.php or index.htm file.

  2. #2
    Member
    Join Date
    Aug 2003
    Posts
    28

    Default index file

    Login to server via ssh and put an index.html or index.php file whichever you want under cd /root/cpanel3-skel/publich_html folder

    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.

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. Addon domains not reading index.htm or .html or any index files
    By Chew in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 02-17-2008, 09:32 AM
  4. FrontPage suddenly changing index.htm to index.html
    By myce in forum cPanel and WHM Discussions
    Replies: 27
    Last Post: 10-04-2005, 11:23 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube