Can I preview the domain before I add DNS

tomwin

Verified User
Joined
Apr 23, 2020
Messages
77
Hi, kind of newbie. I have a domain that already is pointing to a hosting I have. I don’t want change the DNS to my new VPS yet. So I wonder if I can view the domain already now to see if everything is working as it should?
I tried to browse to my IP But all get up is Apache is functioning normally.
But when I look in my files for the domain I have an index.html file that should say something else.
Maybe this isn’t possible to view the domain before I add DNS?
Please, Anyone that can help me out on this one?
 
add to "hosts" file at your local computer:
serverIP domain
like:
12.23.45.56 domain.on.vps.com www.domain.on.vps.com
then your browser will use this local record to resolve this domain to this IP
you can google "where is hosts file in (your OS name/version)"
dont forget to remove this record after tests
 
Back
Top