{"id":4420,"date":"2018-06-07T22:17:21","date_gmt":"2018-06-07T22:17:21","guid":{"rendered":"https:\/\/geekdecoder.com\/?p=4420"},"modified":"2018-06-07T22:17:21","modified_gmt":"2018-06-07T22:17:21","slug":"see-ips-accessing-website","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2018\/06\/07\/see-ips-accessing-website\/","title":{"rendered":"See IP&#8217;s Accessing Website"},"content":{"rendered":"<p>Here is a way to see what IP&#8217;s are accessing the website domain.com. Find the location of the access logs.<\/p>\n<p>In a cpanel account:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n# cd \/home\/domain.com\/access-logs\n\n<\/pre>\n<p>Now run the following on the access logs&#8230;<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# cat domain.com | awk &#039;{print $1}&#039; | sort | uniq -c | sort -rn | head\n<\/pre>\n<p>Here is the readout:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n 24 72.178.xxx.xx\n 18 216.xx.xxx.161\n 1 216.55.xxx.xx\n<\/pre>\n<p>If you do see excessive bots, try adding in a crawl rate\/delay for the site with Bing Webmaster tools, Google Webmaster tools as well as setting that up in robots.txt ). Webcrawlers can carelessly crawl the site and hit it hard, just to index pages.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is a way to see what IP&#8217;s are accessing the website domain.com. Find the location of the access logs. In a cpanel account: # cd \/home\/domain.com\/access-logs Now run the following on the access logs&#8230; # cat domain.com | awk &#039;{print $1}&#039; | sort | uniq -c | sort -rn | head Here is the &#8230; <a title=\"See IP&#8217;s Accessing Website\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2018\/06\/07\/see-ips-accessing-website\/\" aria-label=\"Read more about See IP&#8217;s Accessing Website\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-4420","post","type-post","status-publish","format-standard","hentry","category-administration"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/4420","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=4420"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/4420\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=4420"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=4420"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=4420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}