Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

redirect sub-domain URL ?  RSS feed

 
Edward Chen
Ranch Hand
Posts: 798
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do it in complicated ways? Would not the HTML meta refresh mechanism suit your purposes?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!