Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 10th, 2005, 01:16 PM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 198
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to itHighway
Default How to check Domain Name Availability

Hello!

I have seen soo many Hosting companies which provide the functionality to check the domain name availablity.

I want to add this functionality into my website. How can I do this??

Any idea..
Any help..
Will really be appriciated.

Thank you,
Zeeshan Ahmed

 
Old October 11th, 2005, 01:37 AM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919
Default

Hiii itHighway!!

I have only idea ,not implemented yet!!,Plz let me know if you have other choices

1>from your asp/jsp/php page make a request for that required domain.
  check the response code if it is 200 then OK
2>you can even use javascript for client side

Be sure that you are not violeting any secutiry constraints of requested url.

For more info abt Status Code
plz visit
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
hope this will help you


Cheers :)

vinod
 
Old October 11th, 2005, 02:50 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

This would only check whether there is a current and responsive web server located at the requested domain. If I have the domain www.reserverforfutureprojects.com which I intend to use next year, you won't get a 200 status code, but the domain is still taken.

One of the ways to do this is talk with your ISP. They often have web services or web pages available that allow you to query their domain lists programmatically.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old October 12th, 2005, 07:19 AM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 198
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to itHighway
Default

Thanks for your reply..

Actually, I am developing a website for a Hosting Company. They want to add feature for Customers to check the domain availability.
Please browse "http://www.fortunecity.com/web-hosting-c.shtml" to get an idea of what I want.

On fortunecity.com when Customer select a Hosting Plan, it then ask the customer to check domain availbility and if domain is already taken, it provides full details of domain.

Regards
Zeeshan Ahmed

 
Old October 13th, 2005, 01:33 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

In that case, I have no idea how to do this. Sorry...

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Check availability limpep Excel VBA 0 March 2nd, 2007 07:46 PM
Same pages for sub domain from main domain vivek_inos ASP.NET 1.0 and 1.1 Professional 1 February 13th, 2007 10:15 AM
Availability of VS.NET 2005 boksi General .NET 7 April 7th, 2005 07:32 PM
Professional JSP availability dhanda_2000 Wrox Book Feedback 5 January 14th, 2005 01:26 PM
Non availability of code at the site pankajrv All Other Wrox Books 4 March 7th, 2004 06:38 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.