B4J Question Read The Originating Domain

Squiffy

Active Member
Licensed User
Longtime User
I have a server application. If I have a range of subdomains (eg sub1.mydomain.com, sub2.mydomain.com, etc) and they all have their A records pointed to my server, is it possible to fetch which domain the user put into their browser? I want to set something differently if they put in sub2.mydomain.com instead of sub1.mydomain.com, for example.

Thanks.
 
Top