I need to figure out how to parse out the domain name from a URL in ASP.NET C#.Example: http://test.mydomain.com/myfolder/ should return test.mydomain.comScAndal ...