Redirect by DNS (hide).

xprotect

Verified User
Joined
Feb 10, 2006
Messages
72
How to redirect domain to other domain by dns.
I know how to redirect it to IP (it easy, and it doesn`t see in source code/adress textbox).
But how to redirect to domain (for example: lol.domain.com it the same like koko.seconddomain.com )
 
You can't redirect by DNS.

All you can do with DNS is point two domains to the same IP#.

If you've got a site using a static IP# and you use DNS to point another site to the same IP# that's functionally redirecting, and it may work for you, but it's not the same thing.

Jeff
 
This i know, but i want to redirect to domain (Dynamic DNS) without static IP.
 
If I'm reading you right you set up something for the domain at dyndns or somewhere, and then you create a CNAME for the one you want to redirect.

I'm not sure how to set up httpd to run on a dynamic address so I can't help you there, but in any event you should have a ServerAlias line in the configuration so apache will know to serve the site.

Jeff
 
Back
Top