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!

Domain Forwarding - All

Status
Not open for further replies.
So when someone visits any of those links, you want it to forward them elsewhere?

Easy ;)

Something like this should work. Assumes you are using apache, can use .htaccess files, and mod_rewrite is installed (it is by default):

1) Create a blank text file, call it .htaccess. If you already have one, then append the code in step2 to the end of it

2) Use this code:

RewriteEngine On

RewriteCond %{HTTP_HOST} ^www.domin.co.uk$ [NC]
RewriteRule ^(.*)$ http://www.123-reg.co.uk/affiliate.cgi?id=AF106554 [L,R=301]


Jee
 
So go into cPanel, click file manager, find .htaccess, edit and place the above and every conceivable url will end up at the referral link?

Nice one, thanks for that. I was watching a porn channel the other night completely by mistake of course and the relevent domain dropped the morning after, how lucky was that? :mrgreen: Not sure if the traffic is any good yet though.

Cheers
Lee
 
that should work. If you want to also forward for subdomain.domain.co.uk it gets a bit trickier, and would involve some DNS editting :)

Jee
 
Thanks for that, that's a much better alternative than changing nameservers to sedo, now I can keep a domain on hosting and flip it anywhere.

Cheers again
Lee
 
Status
Not open for further replies.

The Rule #1

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

Premium Members

Latest Comments

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