I finally got rid of my 503 error because I didn’t include the $S3_Endpoint variable.
Now, my next obstacle is S3_ALIAS_HOST variable. I understand conceptually how it is supposed to work, but I don’t know how to implement it exactly. I have a instance using, for example, xyz.com. I set the s3_alias_host as assets.xyz.com. Now, the instance doesn’t post correctly.
- Do I need to add a A record in the DNS for this subdomain? I suspect I do.
- Do I need a SSL certificate for the subdomain? I already have one for the 2nd level domain, but, I’m wondering if I need one for the 3rd level subdomain, which may require me to get a wildcard SSL certificate.
- I plan to use Digital Ocean’s CDN, which asks me about the subdomain. How does that relate to the S3_alias_host problem?
Thank you for helping this newbie out.