Testing site Before DNS propagation

  • Posted November 30, 2013


I have just created a droplet on ubuntu, then instaled zpanel. The problem is taht when i try to access the zpanel interface in my web browser with the subdomain set by zpanel ( it shows nothing, probably because there’s no DNS pointing to it, am i right?

I want to do some tests in a temporary domain, to put all my site files and test everything, to only then change the DNS. How do i do that? How to use Zpanel to do my tests before propagating DNS?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

You could use your server’s IP until the DNS sorts itself out.

That is alright, however if you want to test your websites I believe you will have to browse to the website itself i.e. it won’t load if you simply browse to your IP, you will have to browse to the website itself. Therefore, in order to be able to do that without affects other visitors/users, you will have to edit the DNS record manually by editing the hosts file.

Nice David!! <br> <br>Actually i got to access zpanel only by typing my droplet IP in web browser. My server hosts file remain untouched, with 3 lines like, autoreply, <br> <br>Is it alright? I’m wondering if i’ll have to change those lines or remove them qhen i point the real domain DNS…

You need to insert a new line in the hosts file that looks like this: <br> <br> <br> <br>The first part is the droplet IP and the following text should be your domain name. You can insert as many domains as you want, just separate them with a space.

sorry, i’m totally new with all those stuff, the experience i had was shared hosting with cpanel, and now im learning all this new stuff… <br> <br>What do i do with the hosts file? put on my droplet IP? <br>there is host file on most oses, if you dont use linux localy

You can edit <code>/etc/hosts</code> locally in order to test zPanel before updating the DNS records.