[CentOS] www.mydomain.org and mydomain.org should resolve to the same IP

Sat Jul 30 22:50:03 UTC 2011
Always Learning <centos at u6.u22.net>

On Sat, 2011-07-30 at 10:17 -0700, Bart Schaefer wrote:

> It's extremely common for an HTTP connection to the unqualified
> first-level domain to direct one to the website home page, but whether
> that is accomplished by having the IPs be the same or by way of an
> HTTP redirect, I would not say there's any clear winner.   However, it
> is not a universal practice.

By HTTP I assume you mean by coding on the web page. If so, there is an
alternative method, in the configuration file for the virtual domain.

I redirect web spammers to a Chinese site :-)


-- 
With best regards,

Paul.
England,
EU.