Find Server IP address

The best way to add custom domain to your web hosting account is to use our nameservers. However, sometimes you may want to know the real IP address of server where your account is hosted to create an A record on your domain registrar's DNS to link your domain.

To get real value you need to follow these steps:

  1. Login to your Profreehost hosting account
  2. Access control panel of the specific domain you want to know the IP address of
  3. Access File aManger or Connect via FTP
  4. Create a PHP file inside "htdocs" directory e.g: "serverip.php"
  5. Paste following code in that file and Save:
  6. <?php echo file_get_contents("http://ifconfig.me"); ?>
  7. Access this file to view your server's IP address e.g. view "yourdomain.com/serverip.php" in your browser