DEV Community

loading...

How to Deploy Angular on Apache Remote Server Example – Use Vultr Hosting

loizenai
Software Engineer - Founder at https://loizenai.com
・2 min read

https://grokonez.com/frontend/angular/angular-deployment/how-to-deploy-angular-on-apache-remote-server-example-use-vultr-hosting

How to Deploy Angular on Apache Remote Server Example – Use Vultr Hosting

In the tutorial, We show how to deploy Angular Client with Production mode on Apache Remote Server with Vultr Hosting.

Related post:

Technologies

  • Vultr Hosting
  • Apache Server
  • Angular

    Goal

    Video Guide

    Objectives

    Deploy Angular Client on Apache remote server:
  • Normal deployment ->

deploy-angular-client-on-apache-server-with-vultr-hosting-result-2

  • Sub-folder deployment ->

deploy-angular-client-on-apache-server-with-vultr-hosting-sub-folder-deploy

How to achieve it?

Start with production build ng build --prod.
-> Then copy output folder (dist/ by default) to Apache server.

deploy-angular-client-on-apache-server-with-vultr-hosting-copy-production-build-from-local-to-remote

What are Production --prod optimizations?

More at:

https://grokonez.com/frontend/angular/angular-deployment/how-to-deploy-angular-on-apache-remote-server-example-use-vultr-hosting

How to Deploy Angular on Apache Remote Server Example – Use Vultr Hosting

Discussion (0)