How to find a domain's server name

Discussions related with hosting control panels used, which include cPanel, Plesk, Directadmin etc..
Post Reply
Ruthie
Posts: 0
Joined: Sun Apr 29, 2018 8:58 am

How to find a domain's server name

Post by Ruthie »

Hi guys, I'm a Linux newbie. For checking a domain's server I usually use the ping command. But it doesn't show server name all the time. Most of the time it only shows the IP. Is there any other way to find the server name of a domain with a simple command?



Joan N
Posts: 0
Joined: Mon Mar 27, 2017 11:46 am

Re: How to find a domain's server name

Post by Joan N »

Normally telnet to SMTP port will display the hostname of the server unless it is not disabled in the configuration.So you can use #telnet example.com 25



Ruthie
Posts: 0
Joined: Sun Apr 29, 2018 8:58 am

Re: How to find a domain's server name

Post by Ruthie »

Thanks a lot man. I really appreciate it. The command is working like a spell.



Joan N
Posts: 0
Joined: Mon Mar 27, 2017 11:46 am

Re: How to find a domain's server name

Post by Joan N »

No mention. For a quick response you can also use #telnet example.com 587.



Ruthie
Posts: 0
Joined: Sun Apr 29, 2018 8:58 am

Re: How to find a domain's server name

Post by Ruthie »

yes, it gives a quick response. Thanks.



Post Reply