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

Re: [cobalt-users] subdomains and nameserver



Florian Effenberger wrote:

> Yes, I use the RaQ3 with all actual 'official' updates +
> POP-before-Relay 1.2.
> 
> Ok, now it seems to work:
> http://subdomain.mydomain.com can be reached without problems
> (host name 'subdomain', domain 'mydomain.com')
> 
> For e-mail, I had to enter the subdomain as Host/Domain Alias. Is that
> normal?

I'm not sure I know what you mean.  Can you expand on this?

> The corresponding name server entries are:
> subdomain.mydomain.com -> IP address
> subdomain.mydomain.com -> High Priority Mail -> mydomain.com

Looks okay.

> However, I have another "annoying" problem: when I call
> http://www.mydomain.com, everything is okay. When I enter
> http://mydomain.com, I am being redirected to http://www.mydomain.com.
> 
> Is there any other possibility of avoiding this (and showing
> http://domain.com in the browser's address bar) than adding
> ===
> RewriteCond %{HTTP_HOST}  !^domain.de(:80)?$
> ServerAlias  domain.de
> ===
> to the httpd.conf?

If you don't like that change, you probably won't like mine:  Since it's
the "Rewrite" lines that cause the effect in the first place, I just
remark them all out.  But then neither siteadmin or useradmin work.  For
me that's a benefit <smile> since we don't want our users to have those
features.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
nobaloney.net
P. O. Box 52672
Riverside, CA  92517
voice: (909) 787-8589  *  fax: (909) 782-0205