NEWBIE Question about java/tomcat - Redirect

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • KevinCarb
    New Member
    • Dec 2009
    • 1

    NEWBIE Question about java/tomcat - Redirect

    Hi,

    I would like to get my site to go to www.mydomain.com when user type domain.com (for ssl reasons).

    Any help is much appreciated - TOTAL NEWBIE.

    Regards,

    Kevin
    Last edited by Dormilich; Dec 7 '09, 06:04 PM. Reason: moved to Java Forum
  • rvenezian
    New Member
    • Jan 2010
    • 2

    #2
    you must configure two domains in Apache or IIS to have one with ww and one without.

    then on the domain without www you make a redirection(fro m server settings or with html ). For example with a simple index.html:

    <meta http-equiv="refresh" content="0;URL= http://www.mydomain.co m">

    Comment

    Working...