Domain names can be translated its related ip addresses.
In windows getting ip_address from domain_name
- Click on START menu
- Click on RUN and type ‘ cmd ‘
- then write ping yahoo.com
- and get the ip addres of yahoo
In any UNIX based system getting ip_address from domain_name
- Run SHELL client of operating system
- type command : ping yahoo.com
- and get the ip addres of yahoo
In PHP(web based programming language) getting ip_address from domain_name
<?php
$ip = gethostbyname(‘yahoo.com’);
echo $ip;
?>