Report this

What is the reason for this report?

Two droplets, one domain

Posted on February 20, 2020

I have two droplets, one with .net core application and second with WordPress. How can I set up domain to be used for example:



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.

Hello @gaffkins,

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

Regards, KDSys

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.