Change DNS to point to a php file - How to handle
Posted: Tue Oct 21, 2008 8:10 pm
I have domain name http://www.xxxx.com hosted on Host A and domain name http://www.yyyy.com or http://www.zzzz.com etc...
I would like to change the DNS for http://www.yyyy.com or http://www.zzzz.com etc... to point to Host A. How can I capture the event in Host A so that I know which url it coming from to render different page? For example, if http://www.xxxx.com, I render index.php
But if http://www.yyyy.com, I render index.php?para=1 or coming from http://www.zzzz.com go to index.php?para=2. But the URL in FF or IE still show the domain name where it comes from.
Please advise.
Thanks
I would like to change the DNS for http://www.yyyy.com or http://www.zzzz.com etc... to point to Host A. How can I capture the event in Host A so that I know which url it coming from to render different page? For example, if http://www.xxxx.com, I render index.php
But if http://www.yyyy.com, I render index.php?para=1 or coming from http://www.zzzz.com go to index.php?para=2. But the URL in FF or IE still show the domain name where it comes from.
Please advise.
Thanks