Question

I have hosted an app on Redhat Open shift. I didn't change anything but it started redirecting to https://www.plovist.com/app and throwing 404 error. Can anyone help me in solving this?

Was it helpful?

Solution 2

I logged into Godaddy(my DNS) account and found out that in Cnames(Alias) www wasn't pointing to mydjango-plovist.rhcloud.com(URL given by Openshift). Also I pinged mydjango-plovist.rhcloud.com and it gave a different IP Address than one I had written in A Record. So I pointed in Cname to mydjango-plovist.rhcloud.com and in A Record pointed www to new IP Address I got after pinging mydjango-plovist.rhcloud.com. My app started So Openshift changed their IP Address without telling the users. And also there was some problem in my Godaddy Account.

OTHER TIPS

Make sure that you have correctly added your alias to your application (www.plovist.com)

I have the same problem and solved by just restarting the openshift application. After that everythink work as expected.

See also this guide for information on how to change CNAME and create an alias.

https://blog.openshift.com/custom-url-names-for-your-paas-applications-host-forwarding-and-cnames-the-openshift-way/

Had this issue today after some cname changes. For me it helped to flush the dns chache

ipconfig /flushdns

Do anything suggested before or just patiently wait for a hour and check. I think it is just temporary problem of DNS servers. I am sure not only in my case :)

I resolved it after 2 hours. The issue was, i was missing "www." in openshift alias domain settings. (previously it was domain.com instead of www.domain.com)

I entered www.domain.com and after updating wordpress siteurl/home settings it worked fine.

These comments really helped: https://stackoverflow.com/a/26337432/385377

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top