.htaccess redirect to new webspace

  • luchtzak
  • Student
  • Student
  • No Avatar
  • Joined: Nov 04, 2003
  • Posts: 74
  • Status: Offline

Post January 23rd, 2004, 1:16 pm

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
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post January 23rd, 2004, 1:16 pm

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post January 23rd, 2004, 1:21 pm

http://baremetal.com/gadgets/htaccess/#redirect
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.

Post Information

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

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.