These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for How to set which domain to show if user enters IP into browser on the new forum.
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. :)
If you need further info, do a forum search for "default website for ip address". There's several threads about this topic/question already. :)
Thanks.
That worked :)