How to run two solutions with same name in one Servoy sever

Hi All,

I want to know how to run two solutions which have same name, in one Servoy server. Then it can be accessed with two urls at the same time. Is there a way to do that with Servoy server? If any one knows how to do it, Please reply…

Best Regards’
Sirikumara

It is not possible to have two solutions with the same name on one server.

sirikumara:
Then it can be accessed with two urls at the same time

Do you mean that you want to access the same solution with different urls?
I think you should explain your problem a little more, because it can probably be solved in a different way.

Hi Joas ,

Yes, I want to access same solution with different urls.

Regards’
Sirikumara

I think the easiest option is to use a simple html page that redirects to the other url.

If you’re using webclient, you can also use an iframe to show your solution.

Hi Joas,

I did not quite understand what you said. How do we create the second url. That is the issue. We have two solutions with the same name, so

  1. how do we host them on one server
  2. how do we use to urls

Regards
Sirikumara

Ok, that makes things more clear.

You can rename one of the two solutions, by doing a “clean import”. A clean import is the same as a regular import except that you check the “clean import”-checkbox on the import page and enter a new solution name. When the import is finished, the solution has a new name.

Does that solve your problem?

Hi Joas,

It is not a solution for my issue. I want to use same name for the solution and two urls. Is there anyway of doing this?

Regards,
Sirikumara

Hi Sirikumara,

As far as I know the solution name has to be unique per repository.
So if you really want to host 2 different solutions with the same name I suggest you setup 2 Servoy Server instances with 2 different repository databases where you host each of the solutions in.
Of course you need to change the portnumbers (8080/1099) of 1 Servoy Server instance.

Hope this helps.