Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Domain availability checker
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Domain availability checker

 Post Reply Post Reply
Author
haan View Drop Down
Newbie
Newbie


Joined: 10 September 2009
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote haan Quote  Post ReplyReply Direct Link To This Post Topic: Domain availability checker
    Posted: 10 September 2009 at 10:07am
hi..
I am doing domain name checker..
Below is the code of tutorial I get from internet.
But the result always return not available...
Who know what is the problems?

Thanks you...
[code]
<% Dim strURL: strURL = "http://www.7788.com"
Dim objXMLConn, strResponse

Set objXMLConn = Server.CreateObject("Microsoft.XMLHTTP")
objXMLConn.Open "get", strURL, False

'| Compensate for errors with this line.
On Error Resume Next
GetConnection.Send

strResponse = objXMLConn.getResponseHeader("Date")

If Not IsEmpty(strResponse) Then
   Response.write(strURL & " is available")
Else
   Response.write(strURL & " is not available")
End If

Set objXMLConn = Nothing %>
[code]
 
Between, to add a domain availability checker to my site is that very hard and required high skill of programming? Because I am fresh in programing, still under training..
Thanks for reply... Smilie
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 10 September 2009 at 10:27am
Looks very similar to some code I wrote about 10 years ago.

Unfortunately this type of code rarely works now as it simply grabs a page from another website. Most websites that do these types of lookups block this type of traffic.

The domain that you are presently connectiong to http://www.7788.com doesn't appear to be a whois lookup page anyway so it would not work getting the result from that page.

You would be better off looking for a whois component that you can install on the server for doing this type of lookup.
Back to Top
haan View Drop Down
Newbie
Newbie


Joined: 10 September 2009
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote haan Quote  Post ReplyReply Direct Link To This Post Posted: 14 September 2009 at 3:25am
Thanks for your reply.. that mean to doing domain name checker, I have to install whois component to make it work?
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.