.htaccess redirect to new webspace

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

Post 3+ Months Ago

Hello,

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,

Bart
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

http://baremetal.com/gadgets/htaccess/#redirect

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 140 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
 
cron
 

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