Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to add www to URL in production?

 
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic