• 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

How do I change the default page?

Default Plesk page you can find here - /var/www/vhosts/default/htdocs/
 
A quick work around to do this would be to create the file
/var/www/vhosts/default/htdocs/index.php

with this content:

<?
if ( strpos($_SERVER['SERVER_NAME'],"XXXXXXXXXX") !== false ) {
header( 'Location: /index.html');
} else {
header( 'Location: /disabled.html');
}
?>

(replace XXXXXXXXX with your domain name)

then create the file /var/www/vhosts/default/htdocs/disabled.html and put anything you like.

Aris
 
Back
Top