How to change virtual hosts location in Plesk for Linux?

Follow

Comments

5 comments

  • Avatar
    web studio (Edited )

    hello i get error message 502 Bad Gateway and 503 on domains client after using this guide. Version Plesk Onyx v17.5.3_build1705170317.16 os_CentOS 7

    0
    Comment actions Permalink
  • Avatar
    Artyom Baranov

    @web studio,

    I suppose that you have faced the bug from the "Warning" message (Plesk Onyx, enabled SELinux).

    Contact Plesk support to assist you in resolving the issue: https://www.plesk.com/contact-support

    0
    Comment actions Permalink
  • Avatar
    Diego Alvarez

    Thank you!!! Muchas gracias, estaba buscando esta solución hace 1 mes, y con este script pude cambiar de carpeta el virtual host.

    Thank You!!!

    0
    Comment actions Permalink
  • Avatar
    Jean Poulain

    Hi ! 
    Is this problem now corrected by updates ?

    Thanks

    0
    Comment actions Permalink
  • Avatar
    Nikita Nikushkin (Edited )

    Hi @Jean Poulain,

    The bug "#PPPM-6521" is not fixed yet

    As a workaround, before changing the vhosts folder, set SELinux to permissive mode:

    How to enable/disable SELinux on a server?

    For correct websites working capacity, SELinux has to be in the permissive mode even after changing websites vhosts directory

    I also updated the article with this information

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request