File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Need help in Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Need help in" Watch "Need help in" New topic

Need help in

Vinoth Thirunavukarasu
Ranch Hand

Joined: Dec 18, 2008
Posts: 164

Hi All,
I want to find websites hosted in the given server. when user enter his/her server/website name i should list all the website hosted in that domain. How can I do that any help

Java Best Practices
Linux Best Practices
Amortization Calculator

Henry Wong

Joined: Sep 28, 2004
Posts: 19344

I am not sure if you can. A webserver can sit on any port. The pages can have any name. And the pages can behave differently with different query strings.

The best you can do is probably, given a top page on the host, to crawl through the pages to find all the pages linked to that one. That won't find any unrelated pages though.


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Vinoth Thirunavukarasu
Ranch Hand

Joined: Dec 18, 2008
Posts: 164

HI thanks for your reply.
rocket mass heater kickstarter
subject: Need help in