w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Get real url address that user typed in address bar in browser

RawUrl only contains the server path, without the domain, which seems to be the most interesting part for you.

In that case, it seems like a duplicate of What's the best method in ASP.NET to obtain the current domain?

Here the solution was to use

Request.Url.Host




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.