+ Reply to Thread
Results 1 to 7 of 7

Thread: default index.html for new sites

  1. #1
    Sheila's Avatar
    Sheila is offline Registered User Sheila is on a distinguished road
    Join Date
    Dec 2002
    Location
    Seattle
    Posts
    234
    Rep Power
    58

    default index.html for new sites

    Is there a way to make a single index.html that all new sites we host would get automatically or do we have to copy it into each new site as it's created? Seems like there should be but I'm guessing the issue is the shared servers. Please let me know if there's a way to do this and if so, how.

    Thanks,
    Sheila

  2. #2
    midwest's Avatar
    midwest is offline blink and it's over midwest will become famous soon enough
    Join Date
    Oct 2002
    Location
    Bozeman, MT
    Posts
    742
    Rep Power
    85
    In your WHM
    Account Functions>Skeleton Directory

    /home/main_WHM_userName/cpanel3-skel
    Ronnie Gauthier
    www.instaguide.com

    ======================

  3. #3
    Sheila's Avatar
    Sheila is offline Registered User Sheila is on a distinguished road
    Join Date
    Dec 2002
    Location
    Seattle
    Posts
    234
    Rep Power
    58
    Thanks! I figured there was something simple.

    Sheila

  4. #4
    Sheila's Avatar
    Sheila is offline Registered User Sheila is on a distinguished road
    Join Date
    Dec 2002
    Location
    Seattle
    Posts
    234
    Rep Power
    58

    related questions

    OK, I made my placeholder index and added it to the public_html folder within the cpanel3-skel. The new domain that had no index still doesn't display my new index page. Is that because it's in the wrong place or will it not work on pre-existing domans?

    Related questions:
    * Is there also somewhere where I can set the Default System Setting for the Index Manager? I'd like No Indexing on all folders on all sites. I just went in and manually did that for 2 sites. They're initially setup for "default system setting" which implies to me there's a way to set that default. Is it by domain or within the WHM?

    * Same question for custom error pages. Can I made one set of error pages that will automatically re-direct to the home page of the domain? Or must this also be done by domain and page by page?

    Thanks again!
    Sheila

    PS: Could the skel issue be that my server has 2 hard drives? Would there then be a second skel folder?

  5. #5
    skaloc is offline Registered User skaloc is on a distinguished road
    Join Date
    Apr 2003
    Posts
    16
    Rep Power
    45
    I believe the index.html in cpanel3-skel is copied to the new domain when you create the new domain. If you created the domain before putting the new index.html in the cpanel3-skel folder, nothing will change. You have to manually place the index.html file into the domain that you already created.

  6. #6
    stratplan's Avatar
    stratplan is offline Registered User stratplan will become famous soon enough
    Join Date
    Sep 2002
    Location
    Texas, USA
    Posts
    668
    Rep Power
    81

    error pages

    at least in xcontroller, click on server, then error pages. you can construct what shows when that error is listed, including a redirect back to the index or whereever. It's in all cpanels, just not sure which one you are using.

  7. #7
    midwest's Avatar
    midwest is offline blink and it's over midwest will become famous soon enough
    Join Date
    Oct 2002
    Location
    Bozeman, MT
    Posts
    742
    Rep Power
    85
    skaloc's answer is correct.
    If you want error pages then make them and put them in skel. If you want a redirect to index then use the meta refresh in your error pages or .htaccess redirect.
    Ronnie Gauthier
    www.instaguide.com

    ======================

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. ?? about index.htm
    By stacyleigh in forum General Questions and Comments
    Replies: 3
    Last Post: 05-30-2004, 06:14 PM
  2. home.html vs index.html
    By brywool in forum General Questions and Comments
    Replies: 2
    Last Post: 02-21-2004, 04:50 AM
  3. Inheriting "Default.htm" for "Index.htm"
    By stratplan in forum Tips
    Replies: 3
    Last Post: 06-16-2003, 10:59 AM
  4. website virgin ..cannot see text in my index page
    By noeyedear in forum General Questions and Comments
    Replies: 4
    Last Post: 04-19-2003, 11:50 AM
  5. default.php, index.php etc. HOW????
    By newguy in forum General Questions and Comments
    Replies: 1
    Last Post: 10-05-2002, 12:46 PM

Visitors found this page by searching for:

code html index cho web

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Automatic Translations (Powered by Powered by Google):
Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Welsh Yiddish