CWP panel

Deploy your Next.js app to a VPS (EASY!)



#Hivelocity #VPS #VPShosting
#ad #collaboration

Get one month of VPS FREE at Use code BYTEGRAD1 at checkout.

By the end of the year, users will be able to deploy in EU-locations Frankfurt and
London.
If you need cPanel licenses, Hivelocity is working to get the best deal, those will be
available in a future release.

Learn more about Hivelocity’s VPS:
Explore Hivelocity’s VPS Plans:

YouTube: @HivelocityNet
Twitter: @HIVELOCITY
Facebook: @Hivelocity
Instagram: @Hivelocity.Hosting
TikTok: @HivelocityHosting

Hi, I’m Wesley. I’m a brand ambassador for Kinde (paid sponsorship). Check out Kinde for authentication:

👉 NEW React & Next.js course released at any moment to email subscribers:
👉 Professional JavaScript Course:
👉 Professional CSS Course:

👉 Discord: all my courses have a private Discord where I actively participate
🔔 Email newsletter (React + Next.js course out soon!):

⏱️ Timestamps:
0:00 Why VPS?
0:28 Hivelocity VPS
1:55 Simple Next.js app
3:41 Push to GitHub
4:44 SSH into VPS
6:44 git is pre-installed on Hivelocity’s VPS 🙂
7:19 Install Node.js (on VPS)
9:26 git clone (on VPS)
10:36 npm run build (on VPS)
12:05 npm run start (on VPS)
13:42 Hivelocity overview
14:06 Isolated server resources
14:28 Global availability
14:36 Expert U.S.-Based Support (24/7/365)
14:52 LOW latency due to fast 2+ Tbps Network
15:04 DDOS protection built-in!
15:15 Pick your OS — even install custom OS
15:24 VPS fundamentals

[ad_2]

source

Related Articles

44 Comments

  1. Hi Thank you for great content. Would you please also help on how to setup dev branch on sub domain, since the port is same, it always goes to main branch. I am using nginx.

  2. Hello, I have a project in which I use Next.js, Node.js, and PostgreSQL. I can run this project on a VPS without any problems, but I’ve been advised to use Docker. Do I necessarily have to use Docker to deploy such a project? Please guide me.

  3. Thank you so much for this tutorial, it worked for me! 👍

    Do you mind if I use some knowledge that you share in this video to create an instruction on how to deploy Next.js not to a paid VPS, but a Google Cloud Free Tier VM?

  4. Cmon, Oracle Cloud still gives you 4CPU, 24RAM, 200 Gb storage for FREE. What can we talk about…

    I’ve been keeping there my school’s website, university project website and dozens of personal projects for almost 6 years already and haven’t payed a single dollar.

  5. This was very helpful, thank you. I was about to deploy my first website and was looking for a vps for nextjs. Could you also make a tutorial for nextjs with mysql? That would be really helpful.

  6. althoug the price usd 3+ vs usd 4
    this simple server compare can do what alicloud simple application server cant,
    which is the next js server cant run build in there, something cause the server hdd iops reach peak, can cause os kill the build task.

    but sadly.
    asia area dont have server.

  7. There are more things to cover to make this app work as intended. Without them it looks more like 15 minute ad than tutorial.
    1. How to make passwordless ssh login
    2. How to set up firewall
    3. How to allocate swap memory and how much you would realistically need at lowest spec
    4. How to set correct node flag for available memory
    5. How to configure pm2 (you mentioned it briefly)
    6. How to configure reverse proxy in nginx
    7. How to connect domain and issue certificates
    8. Optionally – how to use nginx for serving static cache
    Alternatively starting from step 4 – how to use containers to run node process and how to use traefik for reverse proxy.
    Can you record couple more videos to explain both ways in detail? Personally I would be interested in docker+traefik, since I have no experience in this workflow.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button