Uri.Host Property gets the host component of this instance.
Imports System.IO
Imports System.Net
Imports System.Text
publicclass MainClass
Shared Sub Main()
Dim baseUri As New Uri("http://www.yourdomain.com:8080/")
Dim myUri As New Uri(baseUri,"shownew.htm?date=today")
Console.WriteLine(myUri.Host)
End Sub
End Class