• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 242
  • Last Modified:

File redirection

I'm currently in the process of moving servers, the new one being on a 100MB network, the old one being on a 10MB network.  I've gotten a few files accorss, but I still have about 2gigs left.  It would be preferable for me to redirect the folders that have to been copied to the new server to be downloaded from the new server.  Essentially, redirect any requests to the new server for these folders and only these folders.  How would I go about doing that.  Please don't just tell me the means of doing so, but specifically what to do or write in the httpd.conf because I'm pressed for time as of recent.
0
gunghoassassin
Asked:
gunghoassassin
1 Solution
 
periwinkleCommented:
I'd set up a new subdomain of your regular domain, such as new.yourdomain.com that points to the new server.  Then, set up the web hosting on the new server, for new.yourdomain.com.  You can then either set up Redirect commands on the old server via the httpd.conf file or .htaccess file, or make modifications to the web site so that users are properly directed to the appropriate new.yourdomain.com version of the files.

For instance, if you moved everything in the yadayada directory, you could add the following line to the .htaccess file in the base of the web directory on the old server:

Redirect    /yadayada      http://new.yourdomain.com/yadayada

0
 
gunghoassassinAuthor Commented:
Thank you, that works perfectly.
0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now