By Andrew Smith
Hi,
Currently, I have several WordPress sites hosted with Bluehost and Node.js apps hosted with Heroku. I am also working on some Python development that will eventually need to be hosted. Generally, these sites and apps are very low traffic.
I would like to be able to manage these different sites/apps from a single location, as well as save on hosting costs.
Is this possible with DigitalOcean? Are there other options that you would recommend? Specifically:
Thank you for any answers, tips, recommendations, or links to useful resources!!
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!
Yes, u can but some easier than others. I teach a full stack dev class and we set them up here on DO. I have used other services and am very happy with DO. There are tons of guides on deploying whatever u might imagine but some are better than others. Plus, many are geared for production deployments which I also did not need as I just use it for side projects and my Students are just wanting to share their work, so some overly complex.
I have non-large scale deployments down for Node.js/MERN/Django so if I can be of any assistance with any of those let me know. Especially if you might open a new account as u can use my referral code and do me a solid. ;-)
Oh and BTW, I saved a bundle by moving my stuff from Rackspace to here if that helps. For an independent hobbyist who just needed a VPS to deploy my pet projects and experiments, DO has been great!
Hi there,
You could follow the steps from this video on how to host multiple WordPress websites on the same server with Apache Virtual Hosts:
Essentially, what needs to happen is:
wget command:wget wordpress.org/latest.zip
unzip latest.zip
/var/www/ folder:mv wordpress /var/www/your_site.com
chown -R www-data:www-data /var/www/your_site.com
sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/your_site.conf
sudo a2ensite
sudo apachectl -t
Syntax OK reload Apache:sudo systemctl reload apache2
mysql
Then run the following queries:
CREATE DATABASE wp_site;
CREATE USER 'wp_site'@'%' IDENTIFIED BY 'use_secure_password_here';
GRANT ALL PRIVILEGES ON wp_site.* TO 'wp_site'@'%' WITH GREANT OPTION;
Hope that this helps. Regards, Bobby
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.