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,295 times
0
![](../../users/profiles/202683.webp)
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.
![](../../users/profiles/126632.webp)
Michael Hampton
- 237,123
- 42
- 477
- 940