I'm running 1.3.19 on RedHat 7.1. Everything's working great, but if a user
types my ip address into there URL bar, I'd like Apache to return the "www" name
(DNS name) of my server.
For example, with the following requests:
http://xx.xx.xx.xx (a single IP, but both public and private IP space)
I want the user to see http://www.domain.com in their URL bar. Is there a way to
I have only one domain and one static ip. I'm not using Virtual Hosts, and that
seems like overkill for what I want to do and I'm not really sure if it helps
me. At first I thought that the ServerName directive would take care of this,
since it's for creating redirection URLs. But how do I force the redirection
when the request is like http://192.168.1.1 ??