Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

Domain redirection + timer? Does that exist?

Status
Not open for further replies.

infernostudio

New Member
Legacy Platinum Member
Joined
Jun 15, 2007
Messages
293
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?
 

jdk

DNF Addict
The Originals
Legacy Exclusive Member
Joined
Jul 23, 2004
Messages
6,351
Reaction score
27
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.
 

infernostudio

New Member
Legacy Platinum Member
Joined
Jun 15, 2007
Messages
293
Reaction score
0
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.
 

jdk

DNF Addict
The Originals
Legacy Exclusive Member
Joined
Jul 23, 2004
Messages
6,351
Reaction score
27
One database is fine
 

infernostudio

New Member
Legacy Platinum Member
Joined
Jun 15, 2007
Messages
293
Reaction score
0
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 :)
 

jdk

DNF Addict
The Originals
Legacy Exclusive Member
Joined
Jul 23, 2004
Messages
6,351
Reaction score
27
I'll try and find time to create something, but it probably wont be for a week due to present time restraints.
 

Bender

Bending
The Originals
Legacy Exclusive Member
Joined
Apr 16, 2004
Messages
1,737
Reaction score
0
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'
 

DNportfolio

New Member
The Originals
Legacy Exclusive Member
Joined
Oct 11, 2004
Messages
86
Reaction score
0
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!
 

infernostudio

New Member
Legacy Platinum Member
Joined
Jun 15, 2007
Messages
293
Reaction score
0
Still looking for a solution , anyone else have any ideas?
Thanks!
 

Dale Hubbard

Formerly 'aZooZa'
The Originals
Legacy Exclusive Member
Joined
Jan 24, 2003
Messages
5,578
Reaction score
91
Looks like a job for crontab to me...
 

infernostudio

New Member
Legacy Platinum Member
Joined
Jun 15, 2007
Messages
293
Reaction score
0
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.
Top Bottom