Web Development – Test website without domain names

I have a VPS with an IP address. WHM / cPanel installed.
I want to test a site without referring the DNS to the new server during this trial period.
I can change the host file on Windows, but I can not test the site on mobile phones this way (for example, iPhone does not allow a host file).

What can I do?