• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

how do i set the default index page?

S

Sandra Ely

Guest
how do i change the default index page from php to html in plesk 8.6. everything i've found online says to go to 'web directories' in the 'hosting' panel of the domain but I don't see this. please help. thank you.
 
it's really simple.. with .htaccess

hi,

simple create a file named ".htaccess" in the folder where you can to create DirectoryIndex rule.

copy and paste following line in .htaccess file

DirectoryIndex default.html index.html index.cgi index.php

note: everything after DirectoryIndex is priority. ie in above example " default.html " is first priority " index.html" is second.

in your case you just can put below line and it should be fine:

DirectoryIndex index.html index.php

If you are using windows:
1. make sure that your file name is correct " .htaccess " cause windows doesn't allow to create file extension starting with " . " , that is dot
2. quick way is, first create htaccess.txt , do your requirement and finally go to " cmd " > navigate to your folder location and rename file from " htaccess.txt " to " .htaccess "

good luck...
 
Back
Top