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

3 posts / 0 new
Last post
#1 Sat, 11/13/2010 - 06:35
risoknop

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.

Sat, 11/13/2010 - 06:45
Locutus

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. :)

Sat, 11/13/2010 - 06:59
risoknop

Thanks.

That worked :)

Topic locked