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.

Dedicated IP on sub-Domain

Discussion in 'General Discussion' started by parisdns, Sep 29, 2007.

  1. parisdns

    parisdns Active Member

    Aug 4, 2004
    Likes Received:
    Trophy Points:
    I already create a sub-domain under cPanel and want now to provide a dedicated IP for this sub-dom.

    Do I have just to add a dns entry for the sub-domain and assign a IP?

  2. pacificw

    pacificw Well-Known Member

    Aug 26, 2007
    Likes Received:
    Trophy Points:

    Learn to configure a subdomain to a separate IP address. Very useful for sites with shopping carts who want to look like it's on the same server. Requirements: Cpanel Control Panel and WHM access.

    Example: is hosted on server A but the shopping cart store is on server B. You need to make it look like is also on server B. Setup a subdomain to point to a differernt ip address and voila!

    1. Edit the Domains DNS Zone
    Login to your WHM control panel or manually through SSH and edit a DNS zone, select the domain you wish to modify.

    2. Adding the A Record
    Create a new record for the subdomain Eg: Type in store for the name, select A record type and then type in the IP address you need it to mask to.

    A Entry

    3. Ensure it Works
    Make sure there isn't an actual subdomain created in the users account that you're trying to point to a different IP address or the pointer/mask will not work!

Share This Page