.htaccess redirect to new webspace

  • luchtzak
  • Student
  • Student
  • luchtzak
  • Posts: 74

Post 3+ Months Ago


I am reading a few tips on another website where they ask you -in case you change servers- you need to add some code in your old .htacess-file on your old server to redirect to your new webspace:

Code: [ Select ]
If all is well, modify .htaccess on your server at X to force any new requests to the new server at Y. Hence, any requests to your domain will be re-routed to the IP of the server at Y.

Does anyone of you know which code that I need to enter in the .htaccess file?

All help welcome! greetings,

  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23469
  • Loc: Woodbridge VA

Post 3+ Months Ago


Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 37 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.