How can I point my root domain example.com to a subdomain of another site subdomain.example2.com?

he subdomain is wildcard subdomain. I have cPanel root server access.

I just want to make it looks like Shopify. A Shopify store example.shopify.com can be accessible from store owners custom domain. Do we need to edit virtual host file or anything? We are using cpanel, Apache server.

  • I edited your comment into your post. If you have further updates, please use the "edit" feature yourself rather than commenting with additional info. Sep 17, 2019 at 13:28

1 Answer 1


You would use the cname DNS record for that

  • 4
    One sentence answers tend not to be very helpful. You should expand your answer to include more detail.
    – John Conde
    Sep 17, 2019 at 11:49
  • Any example please? Sep 17, 2019 at 12:18
  • 1
    In addition to being a short answer, just creating a DNS record is not sufficient to solve the problem. Sep 17, 2019 at 13:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.