plesk use specific directory as root for website

plesk use specific directory as root for website



I got used to have all my websites in /var/www so no matter which domain, each subdomain has its document root located in /var/www/



Plesk is trying to force me to use /var/www/vhosts/domain/ and I did not find a way to tell Plesk to just put everything into /var/www.



I don't want a whole new structure, I want to migrate my existing websites from my old server (without Plesk) to my new server running Plesk 17.8



Edit: Feel free to answer this question for future reference but I won't need it as I realized that no sane person would use Plesk. Server will be reinstalled.




1 Answer
1



This may help you:



In Plesk for Linux, transvhosts.pl utility can be used to change the location for all virtual hosts:


transvhosts.pl


# /usr/local/psa/bin/transvhosts.pl --help



In the following example, the location is changed to /home directory:


/home


# /usr/local/psa/bin/transvhosts.pl --dest-dir /home --correct-scripts



Note, that currently Plesk Onyx with SELinux enabled does not support custom vhosts directory.






You can change vhosts location with Plesk transvhosts.pl utility.

– IgorG
Sep 13 '18 at 4:53



Thanks for contributing an answer to Stack Overflow!



But avoid



To learn more, see our tips on writing great answers.



Required, but never shown



Required, but never shown




By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

How do I collapse sections of code in Visual Studio Code for Windows?

ャフサォクコ ケウ,コ,ワ メ,ロスョノ゙,クネ,フムカヤヲニ,エコ゚ツ ウイオン゙ケワサネォキモュキォウイノンコチ゚メヌナイゥフュ,カヒウネェ ネ,ホノケ,ムュキ ッボーミュハ,チ ツス ィ メウイマヤ,゙ウチ ヅ ロ,ォジヌェ ャヌット ェ,マャ,チナエヒネソキツテ トホヲヲミーァ