• 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 page - Site Preview

R

rmiinc

Guest
To preview a site, the manager directs you to the index.html page.

Can the default setting be changed for each site (i.e. index.htm), especially for those clients that have a different extension for their default page?

Thanks.
 
The httpd.conf file sets the default. You'll find it in the /etc/httpd/conf directory. Look for the line that starts with:

DirectoryIndex

and add, say, default.htm to the end making it look like:

DirectoryIndex index.html index.htm index.shtml index.php index.php3 default.html default.htm

If you make any changes be sure to restart Apache.
 
Back
Top