Membership is FREE, giving all registered users unlimited access to every Acorn Domains feature, resource, and tool! Optional membership upgrades unlock exclusive benefits like profile signatures with links, banner placements, appearances in the weekly newsletter, and much more - customized to your membership level!

URL forwarding

Status
Not open for further replies.
Joined
Oct 31, 2004
Posts
2,259
Reaction score
247
I'm Looking for an online service to manage URL forwarding, without releasing domains to the providers Tag. This would be for hundreds of domains and at least 100 different destination URLs.
 
Not sure if this is what you need but how I do my forwarding is that all my domains point to the one url, a perl script then checks the HTTP_REFERER against a database file with all my domains in, if found, it then forwards on to the new url, with the destination address being masked.

For example, in the database file called domains.txt you would have:

domain1.co.uk|www.sedoparking.com/domain1.co.uk
domain2.co.uk|www.ndparking.com/domain2.co.uk
etc...


In your forwarding script i.e. www.yourdomain.co.uk/forwarding.cgi you would have at least the following code:

my $referer = $ENV{HTTP_REFERER} || '';

open (DOMAIN_DATABASE, "< domains.txt");
my @DOMAIN_ARRAY = <DOMAIN_DATABASE>;

foreach my $row (@DOMAIN_ARRAY) {
chomp($row);

my ($domain, $forward) = split(/\|/, $row);

if ($referer =~ m/$domain/) { # Domain matched
print "Location: $forward\n\n"; # Forward to new location
exit(0); # Exit program
}
}
close (DOMAIN_DATABASE);


Then all you need to do is update the domains.txt file with whatever forwarding url as you choose. Simple really.
 
Thanks for the reply. That is an easy solution for a techy, does anyone provide a simple managed service or control panel?
 
heartinternet allows bulk webforwarding (you can also great bulk groups, so you can do different things with different groups)

but of course that means you would have to change the IPS TAG





Bulk Domain Updating
Select the feature you would like to configure for these domain names

Email Forwarding

Catchall Email Forwarding

Web Forwarding

Change Nameservers

Opt out of WHOIS
 
Status
Not open for further replies.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members online

Premium Members

New Threads

Domain Forum Friends

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
      There are no messages in the current room.
      Top Bottom