Perhaps, it’s your permalink structure, try setting it similar to what you are using on your localhost.
You can also try creating a custom page template that is reusable.
https://premium.wpmudev.org/blog/creating-custom-page-templates-in-wordpress/
The custom page template can be selected in your page editing interface, and will work irregardless of your slug or permalink structure.
Thank you
]]>But the problem is resolved! After a good night’s sleep I noticed there was one page-{slug} that was working. What was different about this page? It had a longer name. Yep. Apparently you can’t give your page a three letter name, ever, not any three letters, even if it doesn’t appear to conflict with other pages.
]]>You are welcome. Thank you for your reply.
Glad to be of some help.