My son and his friend are developing an AI tool, and the homepage and blog of domain.com will be on my server. The subdomain app.domain.com, if it succeeds, will be very resource-intensive, so his friend is developing it on his server.
The nameservers in GoDaddy, where the domain was purchased, are pointing to my server.
Domain purchased via GoDaddy
Homepage + blog pages hosted on Webhost A
Subdomain app.domain.com will be hosted on Webhost B
Is this situation going to work? And if so, how can the subdomain be set up in terms of nameservers, etc? I've not done something like this where two key pieces of a website are on 2 different web hosts.
If this is not doable, we may just migrate the website to the friend's server.