Hello
I am wanting to point o sub domain to another cPanel server while main domain is on a different server.
domain.com -> server 1
subdomain.example.com -> server 2
How can I do this? please guide.
Thanks
To point a subdomain to another cPanel server while keeping the main domain on a different server, you need to update the DNS settings for the subdomain. Here's how you can do it:
- Log in to the cPanel account of the domain.com server.
- Go to the "Zone Editor" or "Advanced Zone Editor" section (depending on your cPanel version).
- Find the DNS record for the subdomain.example.com and click on "Edit".
- Change the "Type" of the record to "CNAME".
- In the "CNAME" field, enter the domain name or IP address of the server where the subdomain is hosted (e.g. server2.example.com).
- Save the changes.
Once you've completed these steps, it may take some time for the DNS changes to propagate. This can take up to 24-48 hours, but it usually happens much faster. After the changes have propagated, requests for the subdomain.example.com will be directed to the server2.example.com.
Keep in mind that you'll also need to set up the subdomain on the server2.example.com and configure it to serve the content you want it to. This may involve creating a new account or adding the subdomain to an existing account on the server.
I hope this helps! Let me know if you have any further questions!