How to do Hidden Forward like Yahoo!?

Discussion in 'Domain Names' started by sixty6, Aug 16, 2006.

  1. #1
    http://sixty6domains.com/

    You all know that it's a GoDaddy Reseller but the domain name doesn't change.

    Does anyone know how to set this up using htaccess or something? Currently that domain name is with Yahoo! and Yahoo! is doing the forward.

    I would like to do the similar thing for a sub-domain of mine, shirts.sixty6arcade.com

    If anyone can help me out, I'll be very happy (and you'll be green) :D
     
    sixty6, Aug 16, 2006 IP
  2. timw

    timw Peon

    Messages:
    299
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can create a CNAME record on your DNS
     
    timw, Aug 16, 2006 IP
    sixty6 likes this.
  3. sixty6

    sixty6 Well-Known Member

    Messages:
    1,748
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    190
    #3
    I should have included that my domain is with GoDaddy, but not hosted with GoDaddy and I don't want to edit the server DNS, too lazy..

    Thanks for your suggestion, any other ways though?
     
    sixty6, Aug 16, 2006 IP
  4. brian394

    brian394 Well-Known Member

    Messages:
    226
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    108
    #4
    The reason it doesn't change is because the GoDaddy reseller page is inside a frame on the page (Non-SEO Friendly). In this case, the frame is taking up 100% of the screen width (giving the illusion that the frame is the actual site).

    I'm a little confused. What are you trying to do exactly? Do you mean you would like shirts.sixty6arcade.com to show the GoDaddy reseller page but still have shirts.sixty6arcade.com in the address bar?

    If so, you have a number of options. You could...

    A) Use the include() PHP function (assuming your site is written in PHP)...
    That way, PHP will dynamically include the content of the godaddy page into your page. The user will "see" the godaddy page as the content of your site, but the address bar will still read "http://shirts.sixty6arcade.com". This is the preferred method.

    B.) Or, let's say you don't have access to PHP and you'd like to do it a straight HTML way. Although including another site's content into your site (via HTML) can be accomplished, it's not quite as elegant as the PHP way (and it's bad for SEO). But if you still wanted to, you could...

    1.) Use an <iframe>, set it's src attribute to the URL of the page you want to include and set it's width attribute to 100%...

    
    <html>
    <head>
    <title>example</title>
    <style type="text/css">
     html, body, iframe { margin: 0px; padding: 0px; }
     iframe { width: 100%; height: 100%; border: none; }
    </style>
    </head>
    <body>
    <iframe src="http://www.securepaynet.net/gdshop/rhp/default.asp?prog_id=317613">Your browser doesn't support iframes. <a href="http://www.securepaynet.net/gdshop/rhp/default.asp?prog_id=317613">Click here</a> to continue.</iframe>
    </body>
    </html>
    
    Code (markup):
    2.) Or if that doesn't give you the look you want you could also use a frameset which would look like this...

    
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
       "http://www.w3.org/TR/html4/frameset.dtd">
    <html>
    <head>
    <title>example title</title>
    </head>
    <frameset>
     <frame src="http://www.securepaynet.net/gdshop/rhp/default.asp?prog_id=317613" marginwidth="0" marginheight="0" frameborder="0">
    </frameset>
    </html>
    
    Code (markup):
    Your choice. Hope this helps :D
     
    brian394, Aug 17, 2006 IP
    sixty6 likes this.
  5. brian394

    brian394 Well-Known Member

    Messages:
    226
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    108
    #5
    Also wanted to mention if you've registered the domain but don't actually have hosting for it yet, your only option would be to ask your domain registrar (in this case, GoDaddy) to forward the domain for you. Most, if not all, domain registrars have a free "domain fowarding" feature. Using this feature, your domain registrar will forward all requests for your domain to another domain. In some cases, they have this extra feature called "cloaking" or "masking" (it may also be called "url cloaking", "url masking", or "domain cloaking" or "domain masking"). In either case, it's when you see one domain in your address bar, but another site as the actual content of the page. What they're doing in this case (most of the time) is simply using a frameset as shown above. You can set this up in GoDaddy by...

    1.) Logging into the My Domains section of Godaddy.
    2.) click on "Forward Domains"
    3.) choosing the domain you want to forward
    4.) Type in the URL you would like it to forward to (in this case "http://www.securepaynet.net/gdshop/rhp/default.asp?prog_id=317613")
    4.) select the checkbox that says "Mask Domain"
    5.) type in a <title>, <meta> description and <meta> keywords
    6.) click "Save Changes"

    Is that more along the lines of what you were looking for?
     
    brian394, Aug 17, 2006 IP
  6. sixty6

    sixty6 Well-Known Member

    Messages:
    1,748
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    190
    #6
    brian, thanks a lot! I am going to use the php function, I already have hosting for the domain name and all...
     
    sixty6, Aug 17, 2006 IP