Dedicated IP redirect to hostname

Discussion in 'Apache' started by Axcell, Apr 26, 2010.

  1. #1
    My website has an dedicated IP (123.123.123.123)
    How to permanent redirect visitor accessed IP to hostname (www.mydomain.com)?
    Example if visitor visit
    http://123.123.123.123 will be redirect to http://www.mydomain.com
    http://123.123.123.123/aboutus.html will be redirect to http://www.mydomain.com/aboutus.html

    Thanks in advanced
     
    Axcell, Apr 26, 2010 IP