Can host Wordpress on domain and Angular on subdomain?

Posted February 12, 2020 2.3k views

Dear All,
First of all sorry if it will be a silly question. My plan is to host a WordPress website to for an introduction page. Is it possible to host an Angular SPA to or For angular I need a .net core backend rest API and a mysql database.
Can you suggest the steps how can I implement this?
Is one droplet with 3 docker (angular, .net core, mysql) and wordpress installation is a good way?
Thank you for your answer.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi @tothtomi7,

This is entirely possible! What I’ll recommend using in this case is a LAMP droplet. Good thing is DigitalOcean does have a pretty good article about the same process you are describing -

The above article will help you install Apache, MySQL and PHP in order for your WordPress website to run properly. It will also set the environment for your angular website as well. You’ll just need to configure a new Vhost on your server for your Subdomain - or if you want to use, just creating a new folder in your DocumentRoot will do the trick.


by Justin Ellingwood
by Brian Boucheron
WordPress is the most popular CMS (content management system) on the internet. It allows you to easily set up flexible blogs and websites on top of a MySQL backend with PHP processing. In this guide, we'll focus on getting a WordPress instance set up on a LAMP stack (Linux, Apache, MySQL, and PHP) on an Ubuntu 18.04 server.