java redirect - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

java redirect

MOSStudiosMOSStudios Posts: 1Member
Ok, here is my problem


i changed servers from one that had no ssl to one that has alot.

so what i need is a seemless intagration from oldto new.

i need to find a js that will take www.1234.com and turn into www.4567.com

and if some one goes www.1234.com/testing.html it will redirect to www.4567.com/testing.html and i want the url to always say www.1234.com


is that possible??

Comments

  • Josh CodeJosh Code Posts: 675Member
    You want to proxy for the other site?

    Why don't you just make the domain names refer to the same host? If you just set the domain names to refer to the same IP, there shouldn't be any reason to do special programming. It would just be two different names for the same thing.


    : Ok, here is my problem
    :
    :
    : i changed servers from one that had no ssl to one that has alot.
    :
    : so what i need is a seemless intagration from oldto new.
    :
    : i need to find a js that will take www.1234.com and turn into
    : www.4567.com
    :
    : and if some one goes www.1234.com/testing.html it will redirect to
    : www.4567.com/testing.html and i want the url to always say
    : www.1234.com
    :
    :
    : is that possible??
    :
  • BoryiBoryi Posts: 9Member
    This post has been deleted.
Sign In or Register to comment.