• 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

Forwarded to devs Plesk Keeps Creating Default Domain Page

manuth

New Pleskian
TITLE:
Plesk Keeps Creating Default Domain Page
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Plesk Onyx 17.8.11, Ubuntu 16.04, x86_64
PROBLEM DESCRIPTION:
When changing any domain-setting (such as changing the document-root, the PHP-version or any other PHP-setting) the "Default Domain Page" is being created.

This is not the expected behaviour because when changing a PHP-setting or setting another document-root I'd rather want to see whether my settings are correct than the "Default Domain Page". And I also don't really want to delete plesk's "Default Domain Page"-files after each time I change a setting.​
STEPS TO REPRODUCE:
  • Method One:
    1. Open up the hosting-settings of a domain
    2. Change the document-root to an existing and working document
  • Method Two:
    1. Open up the PHP-settings of a domain
    2. Change the PHP-version or any other setting you want
  • Navigate to the website using any web-browser
ACTUAL RESULT:
The "Default Domain Page" is shown and must be deleted manually in order to get things running like normal again.​
EXPECTED RESULT:
  • For Method One:
    The document inside the new document-root should be shown
  • For Method Two:
    The website should load using the new php-settings
ANY ADDITIONAL INFORMATION:
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug
 
Can't confirm bug:

Default domain page content will be created only in case of change www root to the folder that not exists. It is an expected behaviour. In all other case www root folder content not replaced.

Tested scenario:
1) create domain
2) open domain, see default page (OK)
3) go to filemanager, replace content to own content
4) open domain, , see custom content (OK)
5) go to hosting settings, change www root to non existing path
6) open domain, see default page (OK)
7) go to filemanager, replace content to own content1
8) open domain, , see custom content1 (OK)
9) go to php settings and change php version
10) open domain, see custom content1 (OK)
 
Thanks for the fast reply!
I just reproduced said steps just to make sure whether the issue really does exist for me:
  1. Creating a sub-domain "www1"
  2. Opening the domain
    => The Default Domain Page is showing up as expected
  3. Replacing all files inside the "www1"-folder with an "index.php"-file containing a simple "echo Hello World"
  4. Opening the domain
    => The customized content is showing up as expected
  5. Changing the document-root from "www1" to "www2"
  6. Opening the domain
    => The Default Domain Page is showing up as expected
  7. Replacing the whole content by the same php-file like before
  8. Opening the domain
    => The customized content is showing up as expected
  9. Changing the PHP-Version from "7.1.20" to "7.2.8"
  10. Opening the domain
    => The Default Domain Page is showing which is not expected
  11. Opening the file-manager at "www2"
    => Now "index.html", "favicon.ico", "test", "img" and "css" I just deleted before exist again alongside to my "index.php"
  12. Changing the document-root back to "www1"
  13. Opening the domain
    => The Default Domain Page is showing which is not expected
  14. Opening the file-manager at "www1"
    => Now "index.html", "favicon.ico", "test", "img" and "css" I just deleted before exist again alongside to my "index.php"
I also tested what happens if there's already an "index.html"-file in there (instead of an index.php) and at least existing files don't seem to be overwritten.

Is my Plesk-installation broken?
And if so - could you move this thread to the propper board?
Thank you so much for the support

Regards
Manu
 
Back
Top