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!

Make a subdomain point to a custom IP address

Discussion in 'General Discussion' started by Fergo, Aug 18, 2008.

  1. Fergo

    Fergo Member

    Joined:
    Dec 5, 2007
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    51
    Hey everyone.
    Is it possible to make a subdomain point to a custom IP address? I've managed to redirect a subdomain to my home IP address, but when I enter the site, the address bar changes to my home IP (and I want to keep the original subdomain in the address bar).
    I don't have control of my domain, but I have access to the cPanel (obvious) and access to the WHM where my website is hosted (I have a reseller account).
    Is it possible to do this without having control of my domain?

    Thanks in advance,
    Fergo
     
  2. MaestriaNick

    MaestriaNick Well-Known Member

    Joined:
    Aug 6, 2008
    Messages:
    159
    Likes Received:
    3
    Trophy Points:
    68
    How did you make the redirect ? In your case, it looks like just changing the A record for that subdomain, editing the DNS zone, to your home ip will fix the problem.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #2 MaestriaNick, Aug 19, 2008
    Last edited: Aug 19, 2008
  3. Fergo

    Fergo Member

    Joined:
    Dec 5, 2007
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    51
    Yeah, I found that in WHM later. Thanks for the answer.
    Now I realized that my ISP blocks port 80. Is it possible to change the default port in the DNS Zone settings to redirect to my IP in a different port?
    I could use services like No-IP, but then the original page title is overwritten.

    Thanks in advance,
    Fergo
     
    #3 Fergo, Aug 19, 2008
    Last edited: Aug 19, 2008
  4. Fergo

    Fergo Member

    Joined:
    Dec 5, 2007
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    51
    Anyone? :(

    Fergo
     
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