[Pdns-users] Domain Forwarding
Nico van Royen
nico at van-royen.nl
Tue May 16 20:53:49 UTC 2006
We also had some difficulty at first with the URL record and solved it on a different way.
Basicly we put 2 records, both an A and URL record like:
www.yourdomain.com A 193.238.25.218 86400
www.yourdomain.com URL http://web.someisp.com/~myname/site 86400 The A record points to a webserver that listens on a dedicated IP. In the webroot we placed and index.php scripts that looks for the $_SERVER[HTTP_HOST] string in the request. It then looks into the powerdns mysql db for the URL record and does a " header("Location: $destination"); " to redirect the user.
Regards,
Nico van Royen
_____
From: Parava Networks [mailto:info2 at parava.net]
To: pdns-users at mailman.powerdns.com
Sent: Tue, 16 May 2006 19:18:46 +0200
Subject: [Pdns-users] Domain Forwarding
We finally made the move from Windows PowerDNS to Linux PowerDNS and we are
extremely happy. No problems so far after 5 days. Everything working as
expected.
We have tried to use FancyRecords for domain forwarding but cannot get it to
work. We set urlredirector to point to a live DNS server and still no luck.
Can anyone help us in using FancyRecords? Or better yet, what would be the
correct way to forward a domain name to another domain name?
www.domainname.com goes to www.newdomain.com
Any help is greatly appreciated.
Patricio Valdes
_______________________________________________
Pdns-users mailing list
Pdns-users at mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20060516/4770d7f4/attachment-0001.html>
More information about the Pdns-users
mailing list