How to access my website on GoDaddy with just the IP address of my Web Hosting account
<p>First of all I am complete beginner in web hosting. This is my first time so please correct me if I am wrong. </p>

<p><strong>What I want to do:</strong>
I have made an <code>index.php</code> file. I am sure I have written the php code correctly. I want this file to be hosted by a web host. I don't want to purchase a domain name for this. I want to access this file over internet via only the IP address of website. </p>

<p><strong>What I did:</strong>
I purchased a web host account on GoDaddy. I didn't purchase any domain names for my web hosting. I uploaded the <code>index.php</code> file to the <code>public_html</code> folder. Now I am trying to access my <code>index.php</code> file using only the IP address of my website. Let's say my website's IP address is <code>166.XX.XX.XXX</code>. Here are the screenshots for my <code>website's IP address</code> and <code>File explorer window</code>:</p>

<p><a href="http://i.stack.imgur.com/qKYev.png" rel="noreferrer">Website IP Address</a></p>

<p><a href="http://i.stack.imgur.com/lgY8e.png" rel="noreferrer">File Explorer - index.php</a></p>

<p><strong>What's the problem:</strong>
I tried visiting <code>http://166.XX.XX.XXX/public_html/www/index.php</code> on my browser but I am not able to access <code>index.php</code> using the IP address. Its showing me 404 page not found error. If I try to visit <code>http://166.XX.XX.XXX/</code> its showing a <code>Coming Soon</code> page instead of my <code>index.php</code> page.</p>

<p>Is it possible to access my <code>index.php</code> file with just the IP address or do I have to buy domain name first.</p>