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

RE: [cobalt-users] OT: How does a DNS Pointer work?



Or:
Use step 1 and after that, manually edit the vhosts file (RaQ550) or
httpd.conf

And comment this line

RewriteRule ^/(.*)   
to
#RewriteRule ^/(.*)

now it will not rewrite domain.com to www.domain.com

> -----Original Message-----
> From: Andy Ross [mailto:andy@xxxxxxxxxxxxxxxxx] 
> Sent: dinsdag 7 januari 2003 16:35
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: Re: [cobalt-users] OT: How does a DNS Pointer work?
> 
> 
> In my limited experience, you can do one of two things :-
> 
> 1. Add the second domain name as an alias on the main virtual 
> site. This would mean that the user would see the domain name 
> change in their address bar.
> 
> 2. Create an extra virtual site for the other domain name 
> with only one page - index.html. This page would be a single 
> frame frameset, the contents of this page being the index 
> from the main site, eg http://www.mainsite.com/index.html. 
> This would have the benefit of retaining the domain name in 
> the address bar.
> 
> Regards,
> 
> Andy.
> 
> ----- Original Message -----
> From: "Jason Gottschalk" <Jason@xxxxxxx>
> To: <cobalt-users@xxxxxxxxxxxxxxx>
> Sent: Tuesday, January 07, 2003 3:17 PM
> Subject: [cobalt-users] OT: How does a DNS Pointer work?
> 
> 
> > Hello cobalt-users,
> >
> > I want to have two domain names go to the same site.
> > the .org site is up and running, I want the .com name to go to the 
> > same place.
> >
> > The problem I see is that the .org is a virtual domain and 
> my cobalt 
> > Raq 4i is hosting multiple domains on one IP address.
> >
> > If I simply setup a new zone record like the others, the 
> cobalt will 
> > think it is another site but won't find it.
> >
> > I think I need the .com to point to the .org without any 
> reference to 
> > the ip address at all.
> >
> > My zone record template looks like this:
> >
> > $TTL 86400
> > $ORIGIN yourdomain.com.
> > @       IN      SOA     ns.hosting4u.net. jason.syo.com. (
> >                                 2003010700              ; Serial
> >                                 10800           ; Refresh, seconds
> >                                 3600            ; Retry, seconds
> >                                 604800          ; Expire, seconds
> >                                 86400)          ; Minimum 
> TTL, seconds
> >                 IN      NS      ns.hosting4u.net.
> >                 IN      NS      ns2.hosting4u.net.
> >                 IN      MX      10 mail.yourdomain.com.
> >                 IN      A       your.ip.address
> > $ORIGIN yourdomain.com.
> > mail            IN      A       your.ip.address
> > smtp            IN      A       your.ip.address
> > www             IN      A       your.ip.address
> > ftp             IN      A       your.ip.address
> > *               IN      A       your.ip.address
> >
> >
> >
> > I think a CName might work, but I read here in another 
> post, that it 
> > is good to avoid CNames all costs.
> >
> > What can I do?
> >
> >
> > --
> > Best regards,
> >  Jason Gottschalk                         mailto:Jason@xxxxxxx
> >  SYO Computer Engineering Services, Inc.
> >  586-286-2557
> >
> > _____________________________________
> > cobalt-users mailing list
> > cobalt-users@xxxxxxxxxxxxxxx
> > To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to: 
> > http://list.cobalt.com/mailman/listinfo/cobalt-users
> >
> >
> 
> 
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to: 
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>