Hi. I have many domain names. I need to redirect the traffic from each one to a page on a different website for each domain name. I want to be able to simply add each domain name, and its corresponding destination/URL, into the program. Then when someone goes to one of my domain names, they will be taken to the destination URL. Does anybody know of a server script that will do this? Thanks!
Thanks, but this is for doing it manually, one domain name at a time. I'm looking for a script that will do this for MANY domain names by simply entering the domain name and the destination URL.
Hi. They're on HostGator Linux cPanel, but I can move them to whatever type of account with any hosting service where I can do this. Why does the domain provider matter?
Check if they have an API to change domain record / redirection. Else try using a third party domain service to achieve this. If you are good in programming, create an index.php for all the domains which will fetch your destinations from a database table and redirect accordingly.
Yes, I know that I can "redirect 1 do main to other one with domain registrar", but that's very time consuming and one at a time. I want to be able to set them up automatically by simply entering my domain name in one box, and the destination in another box, and clicking "Ok".
Thanks, but I've been using 2 different domain name/URL Redirection services for many years, but I want/need to have my own service. I'm definitely not a programmer, and yes, what you suggest is what I'm looking for, a server side program that will "create an index.php for all the domains which will fetch (my) destinations from a database table and redirect accordingly", so that I don't have to pay a programmer a lot to code an application for me.
What you need is a script on the server that will edit the content inside index.php then you may need a script as a client to connect to your server and change them all at will I think you have to hire a programmer at the end
You can't get this type of script on web,it needs to custom made.Its quite simple you can do with php & MySQL.Edit the URL from back-end & it will be run randomly on front-end. Good Luck!