May be you have just bought a new hosting and configured a WordPress site or any other. The domain is not still pointing to your server. So, how can you view the site in browser?
Here is the easiest method. Login to your cPanel or web panel. Then find the username from file manger URL path.
Like: Location: /home/cpanelusername/public_html
Now you can view your site at: URL: http://1xx.2xx.1xx.1/~cpanelusername/
don't forget to change it to your server's IP.