I have my goDaddy shared web Hosting and I need to host a NuxtJs app

45
July 16, 2019, at 2:20 PM

I have my nuxt app built and I need to host in my goDaddy shared account

I am successful in implementing all the steps provided in the below link

I have Godaddy Web Hosting i need to host node.js website can host site?

Every things works & the server is running at 127.0.0.1:3000/

But I do not know how to link my nuxt app

After "npm run build" the entire nuxt app folder is placed inside the public_html folder

below is my .htaccess file

 RewriteEngine On
    RewriteRule  (.*)  http://localhost:3000/$1  [P,L]

below is my app.js file

const http = require('http');
const hostname = '127.0.0.1';
const port = 3000;
const server = http.createServer((req, res) => {
  res.statusCode = 200;
  res.setHeader('Content-Type', 'text/plain');
  res.end('NodeJS server running on Shared Hosting\n');
});
server.listen(port, hostname, () => {
  console.log(`Server running at http://${hostname}:${port}/`);
});

I need to link my nuxt app.

READ ALSO
How to get predicted value of my linear regression model on html page

How to get predicted value of my linear regression model on html page

I'm preparing machine learning model via django project but I'm not able to get that value via viewspy to html page

38
Slider not drag-able on mobile

Slider not drag-able on mobile

I'm trying to get the below code to work with mobile:

52
Make appear animation for diagonal div using bootstrap 4

Make appear animation for diagonal div using bootstrap 4

I would like to run an animation on 2 diagonal divsThe first one should appear from the right, the second one should appear from the left

57
How to scrape page requiring cookies and javascript in PHP

How to scrape page requiring cookies and javascript in PHP

Is there an easy way to emulate cookies and javascript with a php script scraping a web page requiring it?

25