How to change the default content for newly created domains in Plesk?

Follow

Comments

4 comments

  • Avatar
    b_p

    What I just found out: It seems that not all of the files of the default skeleton are used when you create a subdomain: For instance, the error_docs are not copied into the newly created folder while cgi-bin is. This seems inconsistent and should be fixed!

    0
    Comment actions Permalink
  • Avatar
    Nikita Nikushkin

    Hi @b_p,

    The "error_docs" and "cgi_bin" folders are copied from the template only during the subscription/new webspace creation

    When the subdomain is created, it belongs to the existing subscription/webspace and thus, only "httpdocs" and "conf" directories are copied

    0
    Comment actions Permalink
  • Avatar
    Tedoc Web Management

    I added folders "tmp" and "session" in the default skeleton (same level as cgi-bin, error_docs, etcetera). Why does Plesk not add them with newly created webhostings?
    Need them there for special purpose.
    How can i activate this?

    0
    Comment actions Permalink
  • Avatar
    Anton Maslov

    Hi Tedoc Web Management. all additional folders should be placed to "webspace" folder, so it is like:

    /var/www/vhosts/.skel/0/webspace/tmp

    See documentation for details:

    https://docs.plesk.com/en-US/obsidian/administrator-guide/71983/

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request