Can't connect through WiFi, but possible through Mobile Data
Your DNS doesn't know the IP address of the requested site.
You are experiencing problems, because the DNS of your Wifi connection cannot convert a hostname to an IP address. And your data carrier is using different DNS which has associated IP address to hostname.
Try to change your DNS server address on your Wifi router or use direct IP address of the website if available.
Here are some google DNS server addresses
- 8.8.8.8
- 8.8.4.4
You may have an IPv4 vs IPv6 problem. Many mobile data plans use IPv6, while most WiFi installations currently use IPv4, so you may be switching more than just the network layer; you may actually be switching layer 3 protocols.
The DNS entry for phpgear-shifz.rhcloud.com points to an IPv4 address (only), so it should work on WiFi. But maybe your mobile device uses an IPv6 DNS server and can't resolve the name via IPv4?
Another possibility: your mobile device may have a more general problem in the IPv4 stack. Your mobile data may be using one of the 6-to-4 transition technologies and thus bypass your local IPv4 problem.
I noticed another problem with the DNS name phpgear-shifz.rhcloud.com although I doubt it is related.
That DNS entry is actually a CNAME entry that points to another CNAME entry, which in turn points to an A record on Amazon. Double indirections of CNAMEs are a violation of the DNS RFCs, although most resolver should handle it anyway. Also, if this was the problem, it should affect both WiFi and mobile data equally.