wood burning stoves*
The moose likes Sockets and Internet Protocols and the fly likes Checking the domain name is already registered or not Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Checking the domain name is already registered or not" Watch "Checking the domain name is already registered or not" New topic
Author

Checking the domain name is already registered or not

Aravind Prasad
Ranch Hand

Joined: Dec 28, 2005
Posts: 263
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

Joined: Feb 24, 2006
Posts: 6661
    
    5

Cant they use the internic service ?


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

There is nothing specific in JSP for doing this.

Moving to Sockets and Other Internet Protocols.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8836
    
    7

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.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Checking the domain name is already registered or not
 
Similar Threads
trapping the URL from the browser's address bar
Checking the domain name is already registered or not
Exception while doing lookup
nslookup in Java
where to map the domain name in Tomcat?