Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

This question already has an answer here:

I'm posting this question as a quick Q&A for anyone who needs this info. The question is:

How can I find what the IP address is of my server?

I'm sure any additional comments, tips, additions or advice around the answer I'm about to provide will also be useful

share|improve this question

marked as duplicate by MDMarra, joeqwerty, Mark Henderson Jul 8 '13 at 0:59

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

This question appears to be off-topic because it's asked solely for the purpose of providing the poster an excuse to post a poor quality answer to a poor quality question. –  Katherine Villyard Jul 8 '13 at 0:46

2 Answers 2

nslookup example.com is the canonical cross-platform solution for this. Of course, dig on *nix-like systems is more full-featured, but nslookup should be everywhere.

share|improve this answer
  • Ping a site or domain on the server, from a machine external to the server
    • (open a command window, type ping *hostname*
  • Check a hosts file that you use to alias the server (you can find this at C:\Windows\System32\drivers\etc)
  • Run whatsmyip.com on the server (or google even directly reports the external IP if you Google a search for ‘what’s my IP’) – not necessarily best practice though to run a browser on a live server
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.