• Welcome to DNForum.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars
    If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the oldest global domain name community on the internet and continues to grow every day. There are over 45,000 domainers on DNForum doing everything from buying domains, selling domains, using our free in-house built tools, learning about domains and discussing domains. Take a minute and Register.

Domain redirection + timer? Does that exist?

Status
Not open for further replies.

infernostudio

New Member
Legacy Platinum Member
Joined
Jun 15, 2007
Messages
292
Reaction score
0
I am looking for some kind of script, apps, or any kind or program that will let me have a complete archive of all of may domains and basically redirect each one to either my server, parking program or affiliate pages. I know there are certain scripts out there with a control panel to organize /redirect domains but I want to take my domains one step furthur and have some of them redirect only on a hour, day, week, month schedule. This step is very important since some of my domains perform better at certain times of the day, week and/or month.

Is there anything out there that can do this?
 
I don't see how hard it would be. Just create a MySQL database with the domain,redirect_on,redirect_off,redirect_to

then just have like:

domain1.com,10:00:00,14:30:00,http://www.server
domain1.com,14:31:00,23:59:59,http://www.parking.program
domain1.com,00:00:00,09:59:59,http://www.affiliate.page

etc etc

When someone visits your page it will get the domain and time, access MySQL and redirect accordingly.
 
I don't see how hard it would be. Just create a MySQL database with the domain,redirect_on,redirect_off,redirect_to

then just have like:

domain1.com,10:00:00,14:30:00,http://www.server
domain1.com,14:31:00,23:59:59,http://www.parking.program
domain1.com,00:00:00,09:59:59,http://www.affiliate.page

etc etc

When someone visits your page it will get the domain and time, access MySQL and redirect accordingly.


Would I need to do create a dB for each domain, which means that I would need to create server space for each domain?

I would like to find something that would manage 500+ domains all from one central location.
 
One database is fine
 
One database is fine

I am a bit familiar with CPANEL mySQL but I have no idea where to start and create what you proposed. Any suggestions or guidance would be appreciate :)
 
I'll try and find time to create something, but it probably wont be for a week due to present time restraints.
 
if there's a market for this, I might develop a solution...either as a install-on-your-server product or 'point-the-DNS-to-us and edit the parameters'
 
Great tip! I use a php script to rotate my domains, but I didn't realize you could do something like this with mySQL. I'm a dummy when it comes to SQL, so please post to this thread or PM me when you have further instructions. Thanks!
 
Still looking for a solution , anyone else have any ideas?
Thanks!
 
Looks like a job for crontab to me...
 
I looking into this a bit, but I don't know much about crontabs ... any idea what kind of command I would be using to get this working?
 
Status
Not open for further replies.
Back
Top Bottom