DIGIT-ARC read-only archive · snapshot: July 23, 2026

single URL for multiple sites

4 posts · originally from https://geek.digit.in/community/threads/single-url-for-multiple-sites.192085/

G
gmaghesh Original post #1
Jun 15, 2015 at 10:54 AM
Hello,
we are going to create unique web server across 3 sites which has to be release as single URL to end user.
e.g. we have 3 web server deployed as site-1.x.com, site-2.x.com and site-3.x.com.

We need to release one portal to end user we use the link as, unique.x.com/Test, which has to redirect user to nearby web server in back end.

Also what happen if that user move to other location? E.g. if user move to site-3 for few days/weeks, then how can he will get redirect to same web server on which he works which is present under site-3.x.com?

Any suggestions how to deploy the above envrinoment.

Thanks,
Maghesh
Desmond
Desmond #2
Jun 15, 2015 at 11:01 AM
Could you elaborate what it is exactly that you need? You query seems a bit vague to provide a fixed solution.
G
Jun 15, 2015 at 11:21 AM
Basically i need one url for geographic site & also if the users moves to any geographic site, the enduser has to connect only to the site he belongs too, since the web-server data is not replicated across the geographic site .
Shah
Shah #4
Jun 15, 2015 at 12:04 PM
Hello,
we are going to create unique web server across 3 sites which has to be release as single URL to end user.
e.g. we have 3 web server deployed as site-1.x.com, site-2.x.com and site-3.x.com.

We need to release one portal to end user we use the link as, unique.x.com/Test, which has to redirect user to nearby web server in back end.

Also what happen if that user move to other location? E.g. if user move to site-3 for few days/weeks, then how can he will get redirect to same web server on which he works which is present under site-3.x.com?

Any suggestions how to deploy the above envrinoment.

Thanks,
Maghesh

First of all this is wrong sub-forum to post in.

As [MENTION=5007]DeSmOnD dAvId[/MENTION] said, You need to elaborate and be more clear.

Anyway, You can get the location of the user from the browser (HTML5, HTML5 Geolocation ) and then see which server is nearest to him and redirect to it. If that's what you wanted to know. HTH