Results 1 to 9 of 9
  1. #1

    Question Need help navigating Cpanel

    Some time ago I set up options for the default index. file names for my site. I wanted to change this but now can't find where to do this. Help please!

  2. #2
    Join Date
    Aug 2007
    Posts
    187

    Default

    Hi,

    You can change the default index. file for your domain from a .htaccess file which is located under the public_html/ directory of your domain.

    The code youwill need to enter in .htaccess file is as follows.

    DirectoryIndex The default index. file for your domain
    Regards,
    Victor,
    Support Team.

  3. #3

    Default

    Thanks for the fast response. Problem is there is no public_html folder. Could that have disappeared? Do I have access to it? If I create one and a .htaccess file will that resolve the problem? See attached file list.
    Attached Images Attached Images

  4. #4
    Join Date
    Jun 2009
    Posts
    122

    Default

    Are you positive it was there before, or maybe that it was not removed? Things do not just disappear people usally end having something to do with it.

  5. #5

    Cool

    Quote Originally Posted by lisvane View Post
    Thanks for the fast response. Problem is there is no public_html folder. Could that have disappeared? Do I have access to it? If I create one and a .htaccess file will that resolve the problem? See attached file list.
    You have Windows Hosting with us. You need to add mentioned CODE in your .htaccess file and then upload it under httpdocs.

  6. #6

    Default

    Thanks Ralf - I have done that. However if, for example, I delete the default index from the code the site still works. Is it tagged somewhere else as well? Why I am no longer able to change this via Plesk Cpanel? Apologies for ignorance!!

  7. #7
    Join Date
    Oct 2006
    Location
    localhost
    Posts
    3,375

    Smile

    Quote Originally Posted by lisvane View Post
    Some time ago I set up options for the default index. file names for my site. I wanted to change this but now can't find where to do this. Help please!
    Quote Originally Posted by lisvane View Post
    Thanks for the fast response. Problem is there is no public_html folder. Could that have disappeared? Do I have access to it? If I create one and a .htaccess file will that resolve the problem? See attached file list.
    Quote Originally Posted by lisvane View Post
    Thanks Ralf - I have done that. However if, for example, I delete the default index from the code the site still works. Is it tagged somewhere else as well? Why I am no longer able to change this via Plesk Cpanel? Apologies for ignorance!!
    Hi Peter !

    To change preferences of an existing site/domain for ordering the default index pages, please follow these steps in the Plesk control panel:

    1. On your home page, click the domain name you need to modify the default pages for.
    2. Click Web Directories in the Hosting group.
    3. Find the directory which preferences you wish to change (httpdocs), & click Preferences in the required directory.

    To change the preferences of that particular directory:

    • Use default documents - select this checkbox to allow the use of default documents for the current web directory. The default document is sent when users access the directory on the Web without a specific file name (for example, using 'http://www.domain.com' as opposed to 'http://www.domain.com/index.html'). If this checkbox is cleared & the Directory browsing checkbox is selected, the Web server returns a folder listing. If this checkbox is cleared & the Directory browsing checkbox is cleared as well, the Web server returns an "Access Forbidden" error message.
    • Default documents search order - specifies the order in which IIS searches for the default document, sending user the first available file it finds. If no match is found, IIS behaves as in the cases when the default content page is disabled.

    Please let us know if you still any further assistance with this

    Rock _a.k.a._ Jack
    Windows Hosting || Windows Reseller Hosting
    Cloud Hosting 100% UPTIME! || Powerful Dedicated Servers
    Follow eUKhost on Twitter || Join eUKhost Community on Facebook

    For complaints, grievances or suggestions kindly email our FeedBack Dept.
    Proper action will be taken accordingly & instantaneously!

  8. #8

    Default

    Thanks Rock that's what I couldn't find! Sorted now.

  9. #9
    Join Date
    Oct 2006
    Location
    localhost
    Posts
    3,375

    Smile

    Quote Originally Posted by lisvane View Post
    Thanks Rock that's what I couldn't find! Sorted now.
    You're welcome

    Rock _a.k.a._ Jack
    Windows Hosting || Windows Reseller Hosting
    Cloud Hosting 100% UPTIME! || Powerful Dedicated Servers
    Follow eUKhost on Twitter || Join eUKhost Community on Facebook

    For complaints, grievances or suggestions kindly email our FeedBack Dept.
    Proper action will be taken accordingly & instantaneously!

Thread Information

Users Browsing this Thread

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •