I have a PHP app on Openshift which is working fine with the native URL (e.g xyz-xy.rhcloud.com
). Later I added an alias to the app(e.g, www.xyz.com
) and I also updated the CName in my Zone file at godaddy.com. When I enter www.xyz.com, it redirects me to www.xyz.com/app
and throws a 404 NOT FOUND error. Can anyone please help?
Asked
Active
Viewed 1,413 times
0

postmalloc
- 1
- 2
1 Answers
1
It sounds like your custom domain is not setup correctly on your openshift gear in the web console. Make sure that you added www.example.com
and not just example.com
, as we do not automatically accept the www
if you don't add it to the web console.

Michael Hampton
- 244,070
- 43
- 506
- 972