• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Default index page

T

torgojones

Guest
Is there a way to change what the default extension for an index file in the /httpdocs folder can be? I'd like for default.asp to be the default page. I know in the Windows version of Plesk 7.5 I can go to Web Directories section under the Hosting Setup and choose the default page in the Preferences button, but in Plesk 8.1 for Unix I can't find a way to do it.
 
Create (or add to an existing) text file called .htaccess in the web root folder.

Include the line:
DirectoryIndex default.asp

You can actually assign multiple default index files in order of preference, such as:
DirectoryIndex default.asp index.htm index.html index.php
 
Back
Top