Change text on website depending on URL
I have 2 URL's that point to the same hosting. I would like to change some of the text depending on which url was clicked to get to the hosting.
Is this possible? if so can you give me some code.
Thanks for any help.