[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] [RaQ 4][DNS] URL forwarding goes to wrong website
- Subject: Re: [cobalt-users] [RaQ 4][DNS] URL forwarding goes to wrong website
- From: flash22@xxxxxxx
- Date: Mon Nov 5 10:54:52 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Mon, 5 Nov 2001, Rusty Wilson wrote:
> Hi all,
>
> I have a domain (www.laserfab.com) that is supposed to "point" to
> www.isysmanufacturing.com, so that when someone types www.laserfab.com,
> the end up at www.isysmanufacturing.com. This is not working. Instead
> they end up at a different web site (hosted on the same IP as
> isysmaufacturing.com).
>
> The problem is that when you type www.laserfab.com, you get redirected
> to www.mariasharylen.com - which is also at x.x.x.4 - *WHY*?!?
Because you didn't tell the web server about it, the client gives the
domain name to apache when connecting, apache bases virtual host site on
that name, but it doesn't have that name, so it does the best it can and
uses the ip address that name resolves to , which then drops into the
first site in your config that happens to use that ip address....
You need to add a ServerAlias to apache ...(maybe the raq4 can do this as
a domain alias?)
g