How to view my website without a domain?
Hashtags: #hosts #etc #delegate #point #dns
PreviousHow to modify whois information?NextHow to verify a domain in Google Workspace/G Suite in cPanel?
Last updated
Hashtags: #hosts #etc #delegate #point #dns
Last updated
In order to view your website without a domain pointing to it, you need to edit the hosts file located in: C:/Windows/System32/drivers/etc
In that file, add this line at the end:
Example:
The IP number is the one of the server where your hosting account is.
The domain you choose can be any for temporary use.
Keep in mind that you must edit this file with Notepad by opening it with administrator permissions, as shown below:
Then, restart your PC.
That's it. Now, you can test your website using your test domain. Once you have your real domain pointing to your hosting account, you can delete the lines added to the hosts file.