Jump to content

olstouna

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by olstouna

  1.  

    I tried this out on my Tommy account and I got the same result as you. The problem is express apparently does not like being in a subdirectory. As soon as I created a subdomain for it, it started working perfectly. https://express.krydos.heliohost.org/ You'll need to create a subdomain for it, or put it on the webroot of either your main domain or an alias or an addon domain. Ghost, which is another cranky node.js thing, hates being in a subdirectory as well.

     

    Here's my app.js

    var express = require('express')
    var app = express()
     
    app.get('/', function (req, res) {
     res.send('Express is working on HelioHost!');
    })
     
    var server = app.listen(3000, function () {
     var host = server.address().address
     var port = server.address().port
     
     console.log('Example app listening at http://%s:%s', host, port)
    })
    

     

    I tried to deploy this app under http://alexa.stasauskas.lt/ and succeeded. But it seems that from https://alexa.stasauskas.lt/  (note its HTTPS, not HTTP) it just shows directory listing. Any particular steps I should do for it to be accessible from https under the same subdomain?

     

    Update: so apparently after night it works. Not sure why, maybe fixed automagically?

  2. Any rough estimates as to when Tommy  will come online? I am wondering if its worth moving to another server if it takes another 1-2 months.. Or maybe I can wait if less?

×
×
  • Create New...