Pinging Domain doesn't give A Record IP
Should pinging a domain give you the IP the same as the A Record? Are there conditions where it shouldn't? A client's website isn't pointing to the A record IP, it's point to a Cloudflare DNS server. I can't redirect to HTTPS, I get a too many redirects error, I cant go to the CPanel, it's not reading the CSS and giving me a broken page. My client's IT support company isn't very helpful, Any ideas?
When a user visits a Cloudflare website they are essentially receiving data from Cloudflare, not your server, therefore doing a ping should return a Cloudflare IP, not the cPanels, in fact, it's actually a good thing that it hides your IP address since it protects your server from attacks. Cloudflare is basically a firewall that sits between your server and your visitors.
It's common for Cloudflare to cause CSS errors in cPanel, the best solution to this problem is 'not' to use your-domain.com/cpanel and use the preferred method of accessing it using your host's domain associated with that particular server.
Your cPanel based web host will be able to provide you with their own domain that is attached to their WHM/cPanel account, its the best method since it uses their SSL and never has issues such as your having now.
Alternatively, you can 'click the orange cloud' and disable Cloudflare Temporarily while you do the changes you need but personally, I always recommend using their domain to access your cPanel.
Should pinging a domain give you the IP the same as the A Record?
Yes, as long as the DNS has had enough time to fully update.
A client's website isn't pointing to the A record IP, it's point to a Cloudflare DNS server.
Cloudflare's A records are not really true A records if you have their CDN service switched on. To switch off their CDN service, click the orange cloud next to the A record so that it becomes a gray cloud. This will turn off the CDN service (and all CDN-related services) for the A record. This will make your A record actually point directly to the IP address that you set it to, like a normal A record, rather than having Cloudflare's server as a go-between.
Comments
Post a Comment