I have little knowledge of networking, so I asked my sysadmin to host my application on a subdomain on our official website; for instance, downtoearth.com is the official website of my workplace. When I asked him for my computer's IP address, he just replied that my application was already accessible via myapp.downtoearth.com.
I can access my program from that domain, but my present issue is that attempting to get my current URL returns my computer's IP address. What I want is my domain myapp.downtoearth.com, not my IP address, therefore I tried using HttpContext.Current.Request.Url.GetLeftPart(UriPartial.Authority) and HttpContext.Current.Request.Url.Host, but it gave me the same result. Possibilities for resolving it exists?