@tobiasjayas
Seems ok,
Just a few questions to be sure,
Is it defined with ‘http://’ part: ‘http://strapi.example.com’ (It should include it)
Is the server_name defined as ‘strapi.example.com’ ? Without the http:// part? (it should be without it)
Have you rebuilt the Admin UI after changing the URL in server.js?