Testing the site before joining the domain?

Hello. Is it possible to test the domain we have added without having this domain? (or testing a new website before the domain is connected) In the panel demo, I added a new website and launched the wp + cache installation. However, after finishing and pressing the page preview button, it turns out that the entire page with all links is already directed to the domain given earlier. (js, css, etc). For this reason, it is not possible to view and log in to the new installation wp.

Yes you can. You just need to configure the hosts file in your operation system to redirect all requests that go to the domain to your server’s IP address

everything works thanks
ps. is it possible to remove ssl from the site after adding it?