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

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



I think you will find that the problem is in the apache setup.

These sites look to be using virtual name based hosting. That means that the
web server uses the domain name to determine what info to serve out to the
client.

I would bet that the virtual host for www.isysmanufacturing.com is setup to
only serve out under that name. If the web server is asked for a domain that
it does not know about then it just defaults to the first site in the
httpd.conf file which in this case would be www.mariasharylen.com.

The solution in this case would be to add the line:
 ServerAlias www.laserfab.com
Into the VirtualHost section of the httpd.conf file

of if you are using a cobalt GUI add this in as an alias for the website.

Then it will respond when you point the domain to it.

If the webserver is setup fine then the CNAME should work.

Tom

=> -----Original Message-----
=> From: cobalt-users-admin@xxxxxxxxxxxxxxx
=> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of David Lucas
=> Sent: Tuesday, 6 November 2001 5:29 AM
=> To: cobalt-users@xxxxxxxxxxxxxxx
=> Subject: Re: [cobalt-users] [RaQ 4][DNS] URL forwarding goes to wrong
=> website
=>
=>
=> At 11:46 AM 11/5/2001, 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*?!?
=> >
=> >Setup:
=> >The ZONE file for laserfab is (some lines ommited):
=> >www     CNAME     www.isysmanufacturing.com
=> >
=> >In the ZONE file for isysmanufacturing.com I have (some lines ommited):
=> >isysmanufacturing.com.     A     x.x.x.4
=> >www.isysmanufacturing.com. A     x.x.x.4
=> >
=> >x.x.x.4 is hosting multiple web sites, and I can get to
=> >isysmanufacturing just fine by typing www.isysmanufacturing.com.
=> >However, when I type www.laserfab.com, I end up at
=> >www.mariasharylen.com (on of the other sites sharing the .4 IP
=> >address).
=> >
=> >***WHY***?!?
=> >
=> >Thanks!
=> >Rusty
=>
=> In looking at the urls, they do not seem to point to the same
=> ip.  laserfab
=> and isysmanufacturing do point to the .4 address, but
=> mariasharylen points
=> to .26
=> isysmanufacturing and mariasharylen are using the same dns servers but
=> laserfab is using a different dns server.
=> All three are using the same inverse mapping by verio.
=>
=> _______________________________________________
=> cobalt-users mailing list
=> cobalt-users@xxxxxxxxxxxxxxx
=> To Subscribe or Unsubscribe, please go to:
=> http://list.cobalt.com/mailman/listinfo/cobalt-users
=>