We will learn how to point a subdomain to a different IP address using the WHM control panel in this article. It is typically used by online stores that have a shopping cart.
For example: If “example.com” is your main site hosted on server “ABC” and the shopping cart “shop” is hosted on the server “XYZ”, and if you wish to show example.com is also hosted on the dedicated server “XYZ”, you will need to set up a subdomain pointing to a separate IP address.
Follow the steps below to configure your subdomain to point to a specific IP address:
- Log in to the Dashboard.
- From the top navigation menu, select “My cPanel”.
- Scroll down to the “Domains” section and click on the “Zone Editor” link.
- Click on “+A Record”.
- In the panel that appears:
- Enter your desired subdomain in the “Name” field.
- Enter the “IP address” you want the subdomain to point to in the corresponding field.
- Click the “Add an A Record” button to save your changes.
In this way, you can configure a subdomain to a different IP address. If you need assistance, do not hesitate to contact our support team.