1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Hosting one webpage with a different host?

Discussion in 'Web Hosting' started by randomuser12345, Jul 9, 2016.

  1. #1
    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.
     
    randomuser12345, Jul 9, 2016 IP
  2. billzo

    billzo Well-Known Member

    Messages:
    961
    Likes Received:
    278
    Best Answers:
    15
    Trophy Points:
    113
    #2
    You have to use a subdomain. site2.mywebsite.com.
     
    billzo, Jul 9, 2016 IP
  3. sundaybrew

    sundaybrew Numerati

    Messages:
    7,294
    Likes Received:
    1,260
    Best Answers:
    0
    Trophy Points:
    560
    #3

    here is a blog post ( not me )

    You will need to use a sub domain like the guy above me said ;)

    http://www.shoutmeloud.com/how-to-host-sub-domain-different-hosting-account.html


    Hope that helps
     
    sundaybrew, Jul 10, 2016 IP
  4. rumsfo

    rumsfo Well-Known Member

    Messages:
    254
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    108
    #4
    Think that ordinary shared hosting account would be good enough for your needs. There are some nice web hosts that don't oversell their shared network.

    What is your budget? I would also recommend you to choose the host with servers close to the target location of your audience. Good luck!
     
    rumsfo, Jul 10, 2016 IP
    Hostingsource likes this.
  5. Andrew Shaw

    Andrew Shaw Member

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    #5
    node.js is difficult on shared hosts as each customer will need a different port to run the node.js process and there is no way to ensure that the node.js process stays up.

    I find it hard to believe, however, that a VPS plan would be so short of disk space that you will rely on a FREE shared hosting account?

    Can you describe the specs of the hosting and budget you have?

    Usually, if your want to have:-

    yourdomain.com on one server and yourdomain.com/directory on another server your web server would have to proxy the directory to the other web server, or you would have a load balancer like an F5 (Big IP) with irules performing the real-time rewrite and proxy to do this.

    A load balancer is clearly outside the budget of the OP, which is why I ask for the spec required above, and budget, so I can be more creative with my solutions.
     
    Andrew Shaw, Jul 11, 2016 IP
  6. randomuser12345

    randomuser12345 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #6
    The shared hosting plan I that I have is not actually free, it is a paid service but I got it free for one year as an extra from doing an online web development course. Also, I have no idea how much space I will get from the VPS but I assume it will be very limited since I intend to choose the cheapest plan available. I am only using it for testing purposes so I wish to spend as little as possible. It seems I will have to go with using a sub domain to host the node.js apps.
     
    randomuser12345, Jul 11, 2016 IP
  7. billzo

    billzo Well-Known Member

    Messages:
    961
    Likes Received:
    278
    Best Answers:
    15
    Trophy Points:
    113
    #7
    Some shared hosts have node.js support. And how much disk space do you need?
     
    billzo, Jul 12, 2016 IP
  8. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #8
    Yeah... Unless you have a very large existing website, most VPSes give you at least 1GB of space, usually at least 5GB - which should be more than enough for both hosting an app and the website itself. Depending on the setup, you might also be able to set up anything you want, including node.js and whatever you want. I would, personally, just move everything to the VPS, and avoid having to run two servers. Also, if the "free" hosting is just free for a year, you'll still start having to pay for it after that year runs out, don't you?
     
    PoPSiCLe, Jul 14, 2016 IP
  9. Diskretni

    Diskretni Greenhorn

    Messages:
    111
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    23
    #9
    I would suggest using a subdomain.
     
    Diskretni, Jul 28, 2016 IP