190 reputation
18
bio website
location
age
visits member for 1 years, 9 months
seen Apr 20 at 7:14

Nov
8
awarded  Notable Question
Aug
22
awarded  Autobiographer
Aug
12
answered ansible playbook, different user by operating system
May
19
awarded  Self-Learner
Feb
27
awarded  Popular Question
Aug
23
accepted nginx 403 Forbidden Error hosting in User Home Directory
Aug
13
awarded  Teacher
Aug
13
accepted Attempt to www rewrite nginx on Amazon EC2 makes my domain's URLs unavailable
Aug
13
comment Attempt to www rewrite nginx on Amazon EC2 makes my domain's URLs unavailable
Interestingly, this suggests the use of server_name "" was interfering with resolving the apex domain domain.com. Even if that were happening though, my "No direct matches" page also uses an index.html page so the load balancer should have still let the server pass the health check. If anyone in the future has any theories, please comment as I am curious. Regardless, the issue has disappeared. Thanks.
Aug
13
comment Attempt to www rewrite nginx on Amazon EC2 makes my domain's URLs unavailable
Just making the change to fileB you suggest solves my issue. Now domain.com is resolves normally, www.domain.com is redirected to domain.com, and anything else goes to a catch all page. I tried using your fileC, but it did not seem to redirect so I just kept my own, which now seems to work. Thanks soo much! I would give you more points if I could!
Aug
13
revised Attempt to www rewrite nginx on Amazon EC2 makes my domain's URLs unavailable
edited title
Aug
13
awarded  Editor
Aug
13
revised Attempt to www rewrite nginx on Amazon EC2 makes my domain's URLs unavailable
Modified sensationalistic title
Aug
13
asked Attempt to www rewrite nginx on Amazon EC2 makes my domain's URLs unavailable
Aug
13
awarded  Supporter
Aug
12
asked nginx 403 Forbidden Error hosting in User Home Directory
Aug
12
answered nginx 403 Forbidden Error hosting in User Home Directory
Aug
6
comment Modifying Apache configuration via a Web Interface
For other readers, I also found munin, webmin/virtualmin/cloudmin, and cpanel to be worth looking into. I went with webmin.
Jul
29
awarded  Student
Jul
29
awarded  Scholar