Domain and Hosting is bridged using DNS records. If your Domain’s DNS is not set to your hosting, you will not be able to visit your website using the domain name. Sometimes, after uploading a website, you would like to test how it looks like before bring the domain live.
I have a way here which will help you get a temporary url link using a website previewer tool provided by https://hosts.cx/.
I have a website that is uploaded to my server and the server is name after inotokalready.com and my server IP address is 18.104.22.168. With this 2 information filled up as shown below, it will be sufficient to set up this temporary url link. Click “Get My Testing URL” and take sip of coffee.
Here you have it :
Paste the link on to your browser just like what i did and now i can preview my website and any changes that i make through https://mydomain.com/wp-admin will be reflected on this url just like on my domain.