So, when you have a new website and you use a stubborn registar (like Freenom), you can bypass all the DNS waiting. It’s very easy to do, let’s show you.
Step 1
On the status page (not the cPanel), you will see Website IP
. Copy the IP address.
Step 2
Now you have to find the hosts
file. If you’re on Windows, just press Win+R, and type the following:
cmd /c notepad c:\windows\system32\drivers\etc\hosts
and press Ctrl+Shift+ ← Enter. You might also have to click Yes
.
If you’re on Linux, just edit /etc/hosts
as root
.
Step 3
Now, in the hosts
file, create a new line with the text:
<Website IP address> <The domain/subdomain of the site>
<Website IP address>
is the IP that you saw, and <The domain/subdomain of the site>
is the domain that your registar gave you, or the free InfinityFree subdomain that you got.
Step 4
Now, flush your DNS. On Windows, press Win+R again, but type cmd
, and just press OK
.
Then, type ipconfig /flushdns
and ← Enter.
On Linux, usually you just have to reboot.