How to make website with subdomain in subdomain (different host server)

I want to host an API server on a different hosting server but the domain should be the subdomain of the main website. For example, my main website is “” and API domain will be “”. I’ve tried to make subdomain in the source code but when a part gone down, the other also can’t work. It is possible to do this on Render?

Hi Kaiz,

The solution here is to use a custom domain.

You can set up your DNS with subdomains, then just use that as the custom domain you set up in Render.



Are there any other ways to do this? Or it only can be done with custom domain.
Anyways, thank you for your support. If there is another way, please reply to me. Else, you are not required to respond. Thank you!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.