Amazon S3 static hosting with Namecheap DNS - How to correctly route non-www prefixed url : <p>I have been reading other posts to try to get down to the bottom of this issue... but I need some clarification.</p>

<p>I am able to get all of my domain requests to hit my Amazon S3 bucket perfectly when entering www.FOO.com/MyDirectory</p>

<p>If I enter FOO.com/MyDirectory without the www it will fail. </p>

<p>What is the proper method to make url requests without the www route correctly to the same Amazon S3 bucket? </p>

<p>Any tips would help greatly. Thanks</p>
