My client has website.com hosted on cPanel, and I’ve built an ecommerce store using WooCommerce for him, which he wants to run as shop.website.com on a separate server. However, he doesn’t want it on the same server as the main site (for reasons of his own).
I’ll be hosting it on my own cPanel server and need shop.website.com to lead to this new setup. I’ve read that DNS changes are needed but don’t have much experience with them, so I’m looking for some guidance.
It’s common to do this. For example, you could have domain.com pointing to one server IP, and then set up shop.domain.com to point to another IP. Subdomains are often treated like separate domains if they’re on different servers.
That’s correct about needing DNS changes. Based on what you said, the client’s domain may have name servers set to their cPanel package. You’ll need to access their cPanel’s zone editor to add an A record for shop.website.com pointing to your server.
If you don’t expect easy access to their domain settings long-term, you might consider setting up NS records for the subdomain (shop.website.com) to control its DNS zone separately.
Yes, it’s possible. Set up the subdomain in the client’s cPanel and point it to your server’s IP address through DNS. You’ll likely do this by adding an A record.
Yes, it’s possible to host a subdomain on a different server than the main domain. Set up an A or CNAME record in DNS for the subdomain to point to the other server.