The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    6
    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
     
  2. thedotcom

    thedotcom Registered

    Joined:
    Mar 10, 2003
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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,577
    Likes Received:
    40
    Trophy Points:
    48
    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>
     
  4. concreteman

    concreteman Well-Known Member

    Joined:
    May 22, 2003
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    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>
     
Loading...

Share This Page