This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Checking the domain name is already registered or not  RSS feed

 
Aravind Prasad
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Ranchers,
I'm doing a project in JSP for a domain spacing company. They want their clients to check the domain name they have to register is already registered or not. Please help me how can i do this in JSP page

the form design is

text box : enter the domain name
check availability

for egs : if they type www.javaranch.com it has to check and bring it is already available.

Please help me how can i do this

Thanks in advance

regards

Aravind Prasad
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cant they use the internic service ?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is nothing specific in JSP for doing this.

Moving to Sockets and Other Internet Protocols.
 
Joe Ess
Bartender
Posts: 9406
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by John Meyers:
Cant they use the internic service ?


Sending your customers to other web sites (internic uses Verisign to query .com and .net TLD's) is not a good business model.
Perhaps you could exec an nslookup on the requested domain. If it comes back with a negative result, the domain should be available.
There can be issues since there is a delay of several hours between a domain being registered and that registration being propogated through the DNS. I'm not sure how to handle that.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!