I have two droplets, one with .net core application and second with WordPress.
How can I set up domain to be used for example:
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.
This is achievable without a problem! You’ll need to create your Nginx configuration file for your website domian.com set the DocumentRoot to let’s say /var/www/domain.com and there you’ll have your main .net core application. To have your WordPress in a /blog ULR, you’ll just need to create a folder in the following place - /var/www/domain.com/blog and that’s it.
Of course, you’ll need to install PHP, MySQL/MariaDB in order to run WordPress however the good thing is DigitalOcean have a pretty good article on how to do so - https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lemp-on-ubuntu-18-04
Join 1M+ other developers and: