Domain - Re-direct urls

2 replies
Can you use just one domain to re-direct to different url's so you don't need to buy more than 1 domain.

For example, if you want to promote 2 different CPA offers can you set the url's like below;

www.domainname.com/offer1
www.domainname.com/offer2

Im using GoDaddy as my domain service btw.
#domain #redirect #urls
  • Profile picture of the author John Callaghan
    Originally Posted by cooler1 View Post

    Can you use just one domain to re-direct to different url's so you don't need to buy more than 1 domain.

    For example, if you want to promote 2 different CPA offers can you set the url's like below;

    www.domainname.com/offer1
    www.domainname.com/offer2

    Im using GoDaddy as my domain service btw.
    To do it the way you're describing would require setting up webpages at offer1, offer2, etc that forward the user to the cpa url. Technically, it's very possible but I prefer a different approach.

    Instead, I use subdomains (e.g., offer1.domainname.com). The subdomains are configured to redirect to the cpa url. You can configure this within godaddy's domain manager and you don't need to set up any webpages.
    Signature

    "I am the master of my fate: I am the captain of my soul."
    from Invictus by William Ernest Henley

    {{ DiscussionBoard.errors[2768019].message }}
  • Profile picture of the author Gene Pimentel
    Sure - just create a file called "index.php" in the folder. This file should contain the following code:
    PHP Code:
    <?php
    header
    ("HTTP/1.1 301 Moved Permanently");
    header("Location: http://anydomainhere.com");
    exit();
    ?>
    Change the "anydomainhere.com" to the CPA link.

    Repeat for each different folder.
    {{ DiscussionBoard.errors[2768512].message }}

Trending Topics