Subdomain to Separate IP Published: Oct 28, 2003
  • Rating

    5/5

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.

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!

  • Rating

    5/5

Related Articles

Comments (2)

  • Gravatar - Pierre Fontenelle
    Pierre Fontenelle 20:10, July 12, 2005
    I feel like this tutorial is only half complete. The tutorial helps with setting up the access to server B from server A but doesn't explain what configuration is needed for server B. <br />
    <br />
    Does one enter the subdomain name in the Domain section of Create A New Account in the WHM of Server B? I'm new to server administration, if there's any information on the site or elsewhere regarding this I would appreciate if I could get it.
  • Gravatar - Dev
    Dev 18:43, July 15, 2010
    Hi,

    Not a brief article.Atleast i got hint how to do this.

    Thanks
    Dev Rawat
    www.hostmonsterz.info

Add Your Thoughts

WebHostGear.com is a hosting directory, not a web host.

Copyright © 1998-2017 WebHostGear.com