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

[cobalt-users] [550] DNS -- redirect to a default URL



Our website got erased last night and I restored it from a day-old CMU
archive.  There were a few bumps in the road.

Next day, and the server is reacting differently to mistyped URLs.  Our DNS
is handled by another entity, and they have a wildcard DNS set up so that
*.my.domain.com goes to our RaQ 550.  The * represents subdomains hosted on
our single IP address for this box.

In the past, if a user attempted to browse to a subdomain that didn't exist
on the box, he/she was redirected to our home page (example:
www.my.domain.com).  Today, a mistyped URL is redirected to the top A record
in the records file...and that is not our home page but a hosted subdomain,
i.e., subdomain.my.domain.com.

How do I change this behavior so a mistyped URL redirects to
www.my.domain.com?  Can I simply rearrange the entries in the records file,
putting www.my.domain.com as the topmost entry?

DNS server is enabled on the box.  Under Primary Services, both
www.my.domain.com and my.domain.com are configured, along with the various
subdomains.

The other interesting tidbit is site numbers changed for some sites,
including our main site, when I did the cmuImport.  Don't know if this is
significant or not.  All other services appear to be functioning properly,
although I did have to repair some links to mbox files created by
OpenWebmail.

TIA,

Tom