title: How to check if a subdomain exists
body: <p>I am building a Windows Phone app and I need to check if a certain subdomain, like xyz.abcdefgh.com exists or not, but how to accomplish that? I tried the following code:</p>
  
  <pre><code>Try
  Dim client As New WebClient
  client.DownloadStringAsync(New Uri("http://www.thwa.suyashsrijan.com"))
  Catch ex As Exception
  Messagebox.show(ex.tostring)
  End Try
  </code></pre>
  
  <p>but it doesn't work (no error is thrown even when the subdomain mentioned in code doesn't exist)</p>
  
  <p>Any help will be very much appriciated</p>