• Welcome to AcornDomains.co.uk, a friendly community for UK domain investors, developers and anyone interested in domain names.

    Whether you're looking to buy or sell domains, learn more about the UK domain market, get feedback on your names, or simply chat with other domainers, you're in the right place. AcornDomains has been bringing together people from across the UK domain industry for many years, from complete beginners to experienced investors.

    Have a look around, join the discussions and, if you haven't already, create a free account and introduce yourself.

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.
Top Bottom