How to Find Server Information of a Website using the Linux Operating System



Linux


In this article, we show how to find server information of a website using the Linux operating system.

This includes things such as the Registrar of the Server of the website, the registrar's URL, the registry expiry date, and the registry contact infromation such as email and phone number. The registry expiry date is the date that the web hosting for the company is set to expire.

So it's a good amount of information about the server for a particular website.

We can get all of this information through the Linux operating system.

The general code to get the server information for a website is shown below.

where website-name.com is website that you want to get server information for

So let's see actual code.

In our example code, we will get the server information for this website, learningaboutelectronics.com. This is shown below.



This returns various types of server information about this website, including the registrar, the creation date of this website, the registry expiry date (date web hosting is set to end), the registrar's abuse contact email, and the registrar's abuse contact phone.

This is all shown below.

Server information of a website obtained using the linux operating system

So you can see that the godaddy is the registrar for this website. The domain was bought at godaddy and the website is hosted by godaddy.

The website was created in February of 2011 (I can attest to this because that is when I bought the domain and began hosting it).

The registry expiry date is February of 2029. This means web hosting is set to expire in February of 2029, so I would have to pay for hosting before then to make sure that the website doesn't go down due to not paying the hosting bill.

The registrar abuse contact email and phone number are listed.

So you can get a good amount of information from the whois command in linux about a website.

And this is how to find server information of a website using the linux operating system.


Related Resources

How to Randomly Select From or Shuffle a List in Python



HTML Comment Box is loading comments...