How to change virtual hosts location in Plesk for Linux?

Comments

4 comments

  • Avatar
    Roy Jensen

    The “Fix SELinux” tab has both /home/vhosts/ and /customdir/vhosts/.

    When exactly is the transvhosts.pl procedure run in relation to the SELinux fix?

    Thx

    0
  • Avatar
    Roy Jensen (Edited )

    The third SELinux fix fails with a “missing operand” error as shown below.

    Ubuntu 24.04 on Supermicro Xeon server.

    1
  • Avatar
    Francisco Gochez

    I had the same error.

    "chcon: missing operand after ‘root:object_r:httpd_log_t:s0’

    Try 'chcon --help' for more information." 

    CPU

    Intel(R) Xeon(R) Platinum 

    Version

    Plesk Obsidian v18.0.66_build1800241218.14 os_RedHat el9

    Operating System

    AlmaLinux 9.5 (Teal Serval)

    0
  • Avatar
    Violet Altukhova

    Roy Jensen,

    Ubuntu does not have SELinux enabled by default. Instead, it uses AppArmor as its primary mandatory access control system. There is no need to fix the context on such an OS.


    Francisco Gochez,

    The commands in the article are updated to suit AlmaLinux 9.

    0

Please sign in to leave a comment.

Have more questions? Submit a request