[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] [RaQ 4][DNS] URL forwarding goes to wrong website



At 09:46 AM 11/5/01 -0800, you 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*?!?

The zone files don't matter in this case. DNS is doing it's job (resolving the url to the IP address). It's just you haven't told Apache that laserfab.com is an alias of isysmanufacturing.com Without any other information, Apache just defaults to the first entry for that IP addy (mariasharylen.com) You need a line in the isysmanufacturing.com section of httpd.conf that says something like: ServerAlias www.laserfab.com

Not sure what Raq 4 you are on, but on my 4r you can add this behavior via the gui when you setup the site. Just put laserfab.com and www.laserfab.com in the Web Server Aliases box in the site settings.

Brian