access second domain

Hello there!

How can i access my second domain from ip address?

ex. first domain :
second domain:

i want to do this because the ns server will be refreshed in 48 hours

VIrtualmin has a “Preview Website” function under “Services”, you can use that e.g.

yes but i want to be accessable from the public :frowning:

Accessible from the public under the IP address you mean? You can do that by making the “domain2” the default for the server; that function is under Server Configuration -> Website Options.

It’s not possible though to make it accessible from the public under its domain name before the IP address has propagated through the DNS.