Dec 2024 – PhpStorm uploads to server – but outside of Public_Html directory — I tried everything

for the last 4 days using PhpStorm, Dec 2024 version, I have played with deplyment configuration, trying different (a) root path (b) mapping deployment path … but sadly nothing works; however, when I log into the remote server I can see that PhpStorm did create a directory outside of the Public_html directory, and the files were uploaded there indeed.

Problem is that …

for example:
I want files uploaded to xyz.com/welcome
I used the”/” as root path
and /welcome as the deployment path

However:
files get uploaded to
/home/user/
and not to
/home/user/public_html/welcome

I also checked with YouTube but the vids on this subject are over 7-9 years old, and I just recently downloaded PhpStorm some days back. So their screenshots are not the same as mine, sadly.

I never had any issues with FTP software before, but this feature is so important that I do not yet understand why there is no illustrated written examples – or even updated YouTube videos on this.

I just subscribed to PhpStorm — so I am new at this — and I’m not sure if the software has a bug in it or if I am dumber than dumb ….. please help me on this — thanks!!

I tried different deployment configurations
I tried watching youtube videos
I tried googling the answer

There is really nothing current on this issue anywhere

So, I come to StackOverflow to seek answer from the Pros

Please