aspose file tools
The moose likes Servlets and the fly likes redirect sub-domain URL ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "redirect sub-domain URL ?" Watch "redirect sub-domain URL ?" New topic
Author

redirect sub-domain URL ?

Edward Chen
Ranch Hand

Joined: Dec 23, 2003
Posts: 758
I am thinking how to redirect URL ?

if I want redirect "john.ddd.com", sub-domain to another URL, say, "www.yahoo.com", how to do this ?

1. I have heard we could setup sub DNS in server , how to do this ?

2. how to control it in httpservlet programming ? for example, we could parse the URL ?

Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56205
    
  13

Why do it in complicated ways? Would not the HTML meta refresh mechanism suit your purposes?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: redirect sub-domain URL ?
 
Similar Threads
host header: redirect to one domain from many
struts Action for asynchronous HTTP processing
How do I disable port 80 for certain URLs
Tomcat based redirection
Question on class diagram