How to set which domain to show if user enters IP into browser

So I have a server with Virtualmin installed. I have a couple of domains there:

aaa.com
bbb.com
blog.bbb.com
ccc.com
test.ccc.com

When I enter the domain name in the web browser address bar, all domains work fine.

When I enter the IP address of my server to the web browser address bar, it shows blog.bbb.bom website.

How can I set it to show aaa.com website instead?

I am using the BIND DNS server and I have a private nameservers with Godaddy:

ns1.aaa.com
ns2.aaa.com

All domains on the server have DNS set to ns1.aaa.com, ns2.aaa.com as well.

Check out Server Configuration -> Website Options : Default website for IP address. :slight_smile:

If you need further info, do a forum search for “default website for ip address”. There’s several threads about this topic/question already. :slight_smile:

Thanks.

That worked :slight_smile: