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

    Joined:
    Aug 4, 2004
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    PrivateLayer.com
    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?

    Thanks.
     
  2. pacificw

    pacificw Well-Known Member

    Joined:
    Aug 26, 2007
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    HTH

    http://www.webhostgear.com/12.html

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

    Example: domainame.com is hosted on server A but the shopping cart store is on server B. You need to make it look like domainname.com 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!
     
Loading...

Share This Page