Hosting one webpage with a different host?

sansa.stark

Acquaintance
Joined
Jun 24, 2016
Messages
42
Reaction score
0
FP$
0
I have a small website and have a free (shared) web hosting package but I have recently created a node.js app and I want to purchase a cheap vps with a different web host for it. The vps plan has limited storage so I will still be dependent on the shared hosting plan.


It it even possible to do this? Let's say I have mywebsite.com using shared hosting and I want to host the specific page mywebsite.com/nodeapp on another web host with which I have purchased the vps. I can't seem to find this info anywhere and I would like to know before purchasing the vps. Thanks in advance for your answers.
 
I don't think it would be possible to point a subdirectory to a different server on a shared host. What you could do is setup a subdomain such as nodeapp.mywebsite.com instead.

If you want to create a subdomain here is how you can do it:
Add the subdomain to your VPS. In cPanel on your shared host, go to the Simple DNS Zone Editor feature. Under "Add an A Record" in Name type in "nodeapp.mywebsite.com." and for Address type in the IP address to your VPS. Then within 24 hours after DNS propagates, you should be able to access your subdomain which will be on your VPS.
 
Back
Top Bottom