Dear All, First of all sorry if it will be a silly question. My plan is to host a WordPress website to www.example.com for an introduction page. Is it possible to host an Angular SPA to www.angular.example.com or example.com/angular? 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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
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 - https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lamp-on-ubuntu-18-04
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 - www.angular.example.com or if you want to use example.com/angular, just creating a new folder in your DocumentRoot will do the trick.
Regards, KDSys