Setting images1.domain.com to load images from domain.com/images

Discussion in 'Site & Server Administration' started by FarmerOak, Dec 8, 2009.

  1. #1
    I was reading a number of articles regarding paralleling requests from multiple hostnames to increase website speed (http://www.websiteoptimization.com/speed/tweak/parallel/) . However, all the sources I read do not tell me how to actually do this.

    What do I need? I want images to load from BOTH domain.com/images AND images1.domain.com . For example

    <img src="http://www.domain.com/images/monkey.jpg"> 
    Code (markup):
    and

    <img src="http://images1.domain.com/monkey.jpg"> 
    Code (markup):
    will both display monkey.jpg .

    The most logical thing for me was to set up a subdomain images1.domain.com, and set it to redirect to domain.com/images . Unfortunately, this does not work. Should this work? I have a fairly complex .htaccess file, but nothing should interfere with this.

    Of all the .htaccess examples I've seen, I can't find one that would do what I want. This seems like a very simple problem and I hope someone who knows more about regular expressions and .htaccess can help.
     
    FarmerOak, Dec 8, 2009 IP
  2. FarmerOak

    FarmerOak Active Member

    Messages:
    343
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    75
    #2
    Anyone have any ideas? This technique is important to high traffic sites, so I know others can benefit!
     
    FarmerOak, Dec 9, 2009 IP
  3. FarmerOak

    FarmerOak Active Member

    Messages:
    343
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    75
    #3
    I'm kind of rushed, so $5 PayPal to the first person who can answer my question or provide a link that leads to me figuring it out.
     
    FarmerOak, Dec 9, 2009 IP
  4. FarmerOak

    FarmerOak Active Member

    Messages:
    343
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    75
    #4
    Still trying to figure it out, one last bump for the heck of it!
     
    FarmerOak, Dec 12, 2009 IP