I have created multiple subdomains on my DNS (en.example.com
/ pt.example.com
/ ru.example.com
), all related to languages and all pointed to the same IP address.
I want to get the information from the prefix (en
/pt
/ru
) and interpret in the back end of my website to get the language. Is it possible? And how can I do it?
(I'm using Aspx in visual studio)