Redirect Ip to domain

4 posts / 0 new
Last post
#1 Tue, 09/14/2010 - 15:46
hardi

Redirect Ip to domain

I just want to ask how to redirect ip to domain, ex. i f someone write my public ip 202.xxx.xxx.xxx the go to my domain www.123566.com. Cause i use virtualmin, and i have many domain, if i put my public ip, it redirect to my other domain in my virtualmin server. ex. my domain 1234.com, 23456.com, 4343.com, i put my domain 202.xxx.xxx.xxx then i want go to 4343.com, not my other domain. Thank's for reply..

Wed, 09/15/2010 - 10:28
hardi

no body answere my question...

Wed, 09/15/2010 - 12:54
andreychek

The domain that is displayed when you go to the IP address of your server is the default domain... the first one that shows up in Apache.

You can specify which domain is the default by selecting the domain from the drop-down on the top-left, then going into Server Configuration -> Website options, and setting "Default website for IP address" to "Yes".

-Eric

Wed, 09/15/2010 - 15:36
hardi

ok, thanks a lot for reply, now i get it...

Topic locked