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!

redirect to another domain without the url changing

Discussion in 'General Discussion' started by SetLar8, Mar 17, 2007.

  1. SetLar8

    SetLar8 Well-Known Member

    Joined:
    Mar 5, 2004
    Messages:
    60
    Likes Received:
    0
    Trophy Points:
    156
    Hi,

    Im looking for a way to redirect a domain "example.com" to another domain "another.com/folder"

    When the user gets to the "another.com/folder" site i still want the user to see "example.com" in the address bar.

    Its this possible.

    The domain "example.com" will be hosted on my server but the domain "another.com/folder" is hosted on a server that i have no control of.

    Thanks
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,742
    Likes Received:
    77
    Trophy Points:
    353
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    edit did not read your question all the way
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #2 dalem, Mar 17, 2007
    Last edited: Mar 17, 2007
  3. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,742
    Likes Received:
    77
    Trophy Points:
    353
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    you can redirect it using frames and your domain will remain in the address bar
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. bmcpanel

    bmcpanel Well-Known Member

    Joined:
    Jun 1, 2002
    Messages:
    546
    Likes Received:
    0
    Trophy Points:
    316
    There is a way to do this in the server config or in /var/named/domain.com.db .... can't remember exactly. I'll see if I can find the info.
     
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