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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.