Mike Dundas <mdundas@nospamthanks.comcast.net> wrote:
> lets just say I bought www.mydname.com and yahoo forwards this to
> http://69.7.239.163/housesale
>
> yahoo gives me control over the following:
> A Name mydname.com
> A Name www.mydname.com
Both A-records, for "mydname.com" and "www.mydname.com",
should point to the same ip address, 69.7.239.163.
> CNAME *.mydname.com
Perhaps you don't need this (above).
> modifying my httpd.conf to specify domainname as www.mydname.com and maybe
> some virtual host trickery in addition to setting up a dns server on my
> solaris box 69.7.239.163 would be the way to go. Is this possible?
If you're using Apache, then in its config file you'll have something
like this
<VirtualHost 69.7.239.163:80>
ServerName
www.mydname.com
ServerAlias mydname.com
...
</VirtualHost>
As a result, whenever web user will enter either
http://mydname.com/,
or
http://www.mydname.com/, he'll be directed to Apache daemon running
at 69.7.239.163, and this daemon will have enough information to
serve the same content for both 2nd and 3rd level domain.
--
andrei