This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to add www to URL in production?  RSS feed

 
Alona SoftEng
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to redirect example.com to www.example.com with glassfish? (adding www to every page URLs)

Thanks,
Alona


 
Saif Asif
Ranch Hand
Posts: 440
Eclipse IDE Hibernate Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings Alona SoftEng ,

Why dont you just Configure virtual servers and assign your web-apps to them.

In domain.xml


then edit the network-config to configure according to your new host
 
Alona SoftEng
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Saif Asif wrote:Greetings Alona SoftEng ,

Why dont you just Configure virtual servers and assign your web-apps to them.

In domain.xml


then edit the network-config to configure according to your new host


Since in such way both www.abcxyz.com and abcxyz.com are available.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!