Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Domain Masking frame/url forward

Discussion in 'General Discussion' started by concreteman, Nov 17, 2003.

  1. concreteman

    concreteman Well-Known Member

    Joined:
    May 22, 2003
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    sillycone valley
    I can't remember how to mask a domain name... I want the address bar to just read http://www.mydomain.com and not http://www.mydomain.com/module.php?...x=evenmoreblah. I did this years ago with several of my domains and I lost those braincells by thinking about something else. Any help would be aprreciated - and yes I have searched and searched only to find meaningless stuff. I may need a step by step cause my thinker just isn't working any more. I have my own nameserver and am on dedicated box, can't believe I have had this much trouble. Any good help would be appreciated
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. thedotcom

    thedotcom Registered

    Joined:
    Mar 10, 2003
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    i really need an answer to this one as well

    Thanks forum folks
     
  3. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,696
    Likes Received:
    71
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    I think i posted this on this forum once before :) domain forwarding & masking


    <html>
    <head>
    <title>your website title </title>
    <meta name="description" content="your description ">
    <meta name="keywords" content="your key words">
    </head>
    <iframe name="FRAMENAME" src="http://google.com/" width="100%" height="100%" frameborder="0" scrolling="yes" allowautotransparency=true></iframe>

    </html>
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. concreteman

    concreteman Well-Known Member

    Joined:
    May 22, 2003
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    sillycone valley
    or try this one, figure I might as well answer my own question, what this does, is put your content within a main frame with the base remaining as the page in base, and thus the address within the bar....

    <base href="http://www.yourdomain.com/" />

    <meta name="DESCRIPTION" content="">
    <TITLE></TITLE>
    </HEAD>
    <FRAMESET ROWS="100%,*" frameborder="no" framespacing=0 border=0>
    <FRAME SRC="http://www.yourdomain.com/index.php" NAME="mainwindow" frameborder="no" framespacing="0" marginheight="0" marginwidth="0"></FRAME>
    </FRAMESET>
    <NOFRAMES>
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice