One FTP for multiple projects: Web path

Hello!

I have 2 sites on the same FTP server. I need to create separate project for each site.

But i can't set different domain's URL for each project on Mappings tab (Deployment window), only relative path to the address in "Web server URL" setting in "FTP Connections" tab.
So, i need to set different domains for each project, using one FTP server.

How i can do this?

Thanks.

0

Technically, you may create two deployment records for the same server and then combine these in a Server Group.

https://www.jetbrains.com/help/phpstorm/server-groups.html

0
Avatar
Permanently deleted user

Vasiliy, thanks for your reply.

I don't understand, how Server Group can help me. I need one Deployment record for several sites (projects).

Several deployment records for the same server - it a strange thing, i think. If i change FTP password, for example, i should enter it several times.

So, no way to do it?

0

@Goubkine2

Yes, Vasiliy misunderstood you.

Correct, it's not possible right now to have what you have asked. Watch after https://youtrack.jetbrains.com/issue/WI-4769

I suggest creating deployment entries that are project-specific.

  • Yes, this means that if you need to change the user or password you would need to update 2 projects.
  • But it's more convenient from this POV: if you remove old project or move it elsewhere then the server definition will be with you since it's part of the project. If you have many projects that are not in active development (e.g. just support / rare changes) then having project-specific stuff (e.g. libraries/set of tools etc) is an excellent solution.

 

1
Avatar
Permanently deleted user

@Andriy Bazanov

Thanks! Hope this feature will be added in future versions.

0

请先登录再写评论。