Вы могли настроить старый веб-сервер для перенаправления всех запросов к новому IP. Это может быть сделано с mod_rewrite в апаче.
Camilo создайте или отредактируйте файл .htaccess и добавьте строки:
RewriteEngine On
RewriteRule ^/PROFILES/(.+) http://pictures.example.com/PROFILES/$1 [R,L]
The best way to do this is to use a different domain for static content (e.g. static.example.com
) which points to S3 or CloudFront. Proxying to S3 isn't going to buy you anything, and redirecting is going to add extra latency to every request.