Thanks for your reply. Yes, the problem was DNS propagation. I thought it would be relatively fast, but in reality it took about 24 hours.
Also, my server recently changed hosting companies, so the domain used as the server's hostname was no longer active.
As a result, I had to reconfigure ISPconfig DNS, plus enter a new hostname for the server using
command from the shell.
Thanks as always for your replies!