{"id":509,"date":"2024-05-08T20:53:43","date_gmt":"2024-05-08T20:53:43","guid":{"rendered":"https:\/\/worldseotool.com\/?page_id=509"},"modified":"2024-05-08T20:53:43","modified_gmt":"2024-05-08T20:53:43","slug":"domain-ip-checker","status":"publish","type":"page","link":"https:\/\/shoptips24.com\/tools\/domain-ip-checker\/","title":{"rendered":"Domain IP Checker"},"content":{"rendered":"\n\n<style>\n  body {\n    font-family: Arial, sans-serif;\n    background-color: #f0f0f0;\n    margin: 0;\n    padding: 0;\n  }\n  h1 {\n    text-align: center;\n    color: #333;\n  }\n  p {\n    margin-bottom: 10px;\n  }\n  input[type=\"text\"] {\n    width: 100%;\n    padding: 10px;\n    font-size: 16px;\n  }\n  button {\n    padding: 10px 20px;\n    font-size: 16px;\n    background-color: #4CAF50;\n    color: white;\n    border: none;\n    cursor: pointer;\n  }\n  button:hover {\n    background-color: #45a049;\n  }\n  #result {\n    margin-top: 20px;\n    padding: 10px;\n    background-color: #fff;\n    border-radius: 5px;\n  }\n<\/style>\n<\/head>\n<body>\n\n<h1>Domain IP Checker<\/h1>\n<p>Enter a domain name:<\/p>\n<input id=\"domainName\" placeholder=\"example.com\" type=\"text\" \/>\n<br><br>\n<center><button onclick=\"checkIP()\">Check IP<\/button><\/center>\n<div id=\"result\"><\/div>\n\n<script>\n  function checkIP() {\n    var domainName = document.getElementById(\"domainName\").value;\n    var result = document.getElementById(\"result\");\n    result.innerHTML = \"Loading...\";\n    fetch(\"https:\/\/api.ipify.org\/?format=json&callback=getIP&domain=\" + domainName)\n      .then(function(response) {\n        return response.text();\n      })\n      .then(function(data) {\n        var ip = data.match(\/\\d+\\.\\d+\\.\\d+\\.\\d+\/);\n        if (ip) {\n          result.innerHTML = \"The IP address of \" + domainName + \" is \" + ip[0];\n        } else {\n          result.innerHTML = \"Unable to find the IP address for \" + domainName;\n        }\n      });\n  }\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"<p>Domain IP Checker Enter a domain name: Check IP<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-509","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/shoptips24.com\/tools\/wp-json\/wp\/v2\/pages\/509","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shoptips24.com\/tools\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/shoptips24.com\/tools\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/shoptips24.com\/tools\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/shoptips24.com\/tools\/wp-json\/wp\/v2\/comments?post=509"}],"version-history":[{"count":0,"href":"https:\/\/shoptips24.com\/tools\/wp-json\/wp\/v2\/pages\/509\/revisions"}],"wp:attachment":[{"href":"https:\/\/shoptips24.com\/tools\/wp-json\/wp\/v2\/media?parent=509"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}