title: 403 error when accessing Elastic Beanstalk from custom domain
body: <p>I deployed a webapp using Elastic Beanstalk. I can access it from the default EB domain <code>xxx.ap-southeast-1.elasticbeanstalk.com/blog/</code></p>
  <p>I also create a custom domain <code>blog.mydomain.com</code>. When I access from this domain, <strong>sometimes</strong> I get the error <em>&quot;User is not authorized to perform this action&quot;</em> (the Console show 403 error).</p>
  <p>Any ideas what might cause this issue? Thanks!</p>
  <p><strong>Some more details</strong>:
  I'm not sure if this is relevant, but in the source code, the developers redirect the address <code>blog.mydomain.com</code> to <code>mydomain.com/blog</code>. And in the <code>mydomain.com</code> server, they have a proxypass to rewrite <code>mydomain.com/blog</code> to <code>blog.mydomain.com/blog</code></p>
  <p>I’m using an external registrar, not Route53.</p>