help... dns www redirect and virtual host
Kristofer Pettijohn
kristofer at visi.com
Wed Jan 12 22:41:40 UTC 2005
rank wrote:
> hello
>
> I would like know how to configure the dns so that when someone contact
> my domain (ex: www.domain.com) it will be redirected in
> space.domain2.com which is a virtual host of the domain2.com
>
> if I put in cname
> www.domain.com space.domain2.com
>
> it doesn't work well because it will redirect to domain2.com but not in
> my page which (space.domain2.com) .... the dns resolves the ip of
> domain2.com and go in it...
>
> I need to redirect to my webspace.
This isn't a DNS thing; you would need to go into the webserver and have
it recognize www.domain.com as a ServerAlias (...in Apache) for
space.domain2.com.
Kristofer
More information about the bind-users
mailing list