Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript 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: 66142
141
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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!