Howdy, i have a question, maybe silly one but i need to preview a website on my vps and i dont know how to do it.
The work i just made, a website, does not have yet a domain name. Is it possible to preview with the IP of the VPS? using a link like for example: IP: 0.0.0.0.0/preview-work/ ? Or do i need to set something on my vps?
Another alternative – do you have any domains currently pointed to your server?
If so, you could setup an alias for the domain which doesn’t currently work, using the one that does.
For example, if you go into Create Virtual Server, and click “Alias of example.com” – there you could setup an alias of your domain that’s not currently working, and you could make a name like “preview_website.example2.com”, where example2.com is another domain on your server that is currently working.
There is a built-in feature for previewing virtual servers. You can find it under Virtualmin ->Services -> Preview Website. It works pretty well. Last time I used it I installed Wordpress on my new server before the DNS change could take effect. Don’t have to fiddle with your hosts file as well.