Deploying multiple wordpress on one Digital Ocean Droplet

thesilverhawk619

Regular Member
Joined
Aug 12, 2015
Messages
440
Reaction score
172
Hello,

I am thinking of starting 4-5 blogs and I cant afford to take different hosting plans for all of them.

Somewhere I read that buying a droplet from Digital Ocean and we can Install multiple wordpress sites with different domains is possible.

Is it really possible..? I thought a port can be targeted to only one domain and only subdomains can be created but never a different domain.

Please let me know if you have tried it or if you know any other cheap ways to do it.

Thank you.
 

sendlerad

Jr. VIP
Jr. VIP
Joined
Sep 5, 2007
Messages
602
Reaction score
228

Gogol

Jr. VIP
Jr. VIP
Joined
Sep 10, 2010
Messages
9,283
Reaction score
15,270
Sure, you will need to have virtual hosts configured. You can virtually host unlimited domain in there. The only limit is your VPS resource.

For multiple domains, you will need to forward them to digitalocean nameserver like so..

Code:
ns1.digitalocean.com
ns2.digitalocean.com
ns3.digitalocean.com
Then go to networking menu of your DO, and add those domains there. You will have options for forwarding those domains to a specific droplet.

It's a bit technical, but once you learn it; it will be pretty easy.
 

thesilverhawk619

Regular Member
Joined
Aug 12, 2015
Messages
440
Reaction score
172
Sure, you will need to have virtual hosts configured. You can virtually host unlimited domain in there. The only limit is your VPS resource.

For multiple domains, you will need to forward them to digitalocean nameserver like so..

Code:
ns1.digitalocean.com
ns2.digitalocean.com
ns3.digitalocean.com
Then go to networking menu of your DO, and add those domains there. You will have options for forwarding those domains to a specific droplet.

It's a bit technical, but once you learn it; it will be pretty easy.

I think you are telling me about redirection... I am talking about 3 different domains with 3 different contents.

You should go with Plesk droplet, DO has 3 domain free plan - https://marketplace.digitalocean.com/apps/plesk
And easy one-click WP installation/management from Plesk panel, constant Plesk updates & user-friendly control panel, will keep you worry-free of any technical issues.
If you need to host more sites, you can use WP Multisite, and just properly configure DNS for each domain - https://wordpress.org/support/article/wordpress-multisite-domain-mapping/

I will read more about this... How much it might cost more than the usual droplet.? Have you tried it..?
 

Gogol

Jr. VIP
Jr. VIP
Joined
Sep 10, 2010
Messages
9,283
Reaction score
15,270
I think you are telling me about redirection...
Nopes I am telling you about having multiple sites on one server. Cpanel does it the same way, but it is managed by cpanel.

For your case, you will need to create the virtual hosts by hand. All of the domains will point to one server. Then with virtual host entry, you will route them to different folders. Makes sense?
 

thesilverhawk619

Regular Member
Joined
Aug 12, 2015
Messages
440
Reaction score
172
Nopes I am telling you about having multiple sites on one server. Cpanel does it the same way, but it is managed by cpanel.

For your case, you will need to create the virtual hosts by hand. All of the domains will point to one server. Then with virtual host entry, you will route them to different folders. Makes sense?

Ok... Understood... Is there any guide or some tutorial to do this on DigitalOcean..?
 

Gogol

Jr. VIP
Jr. VIP
Joined
Sep 10, 2010
Messages
9,283
Reaction score
15,270
Ok... Understood... Is there any guide or some tutorial to do this on DigitalOcean..?
Sure.

As an example (untested. Use at your own risk)

Code:
https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-16-04
 

thesilverhawk619

Regular Member
Joined
Aug 12, 2015
Messages
440
Reaction score
172
Sure.

As an example (untested. Use at your own risk)

Code:
https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-16-04

Ok.. I will study it...

What is your opinion on doing this..? Is it feasible..? I can move those sites later right..?
 

Enchanter

Supreme Member
Joined
May 6, 2012
Messages
1,416
Reaction score
703
You can use services like Runcloud, Serverpilot etc.

I guess Runcloud has a free plan. Serverpilot is paid.

You can even use EasyEngine. But Runcloud/Serverpilot are easy options.

But I guess you need fresh droplets for all of the above.
 

blogtaufiq

Regular Member
Joined
Mar 22, 2011
Messages
237
Reaction score
32
You can use panel such as runcloud, vpssim, easy engine, etc. For 1 server, you can use unlimited domain
 

Gogol

Jr. VIP
Jr. VIP
Joined
Sep 10, 2010
Messages
9,283
Reaction score
15,270
Ok.. I will study it...

What is your opinion on doing this..? Is it feasible..? I can move those sites later right..?
I do this all the time. Perfectly feasible, especially for low traffic sites.

Transferring the site is the same like cpanel, but you will have to do it via ssh. Use zip and unzip packages for zipping. For db backup, you could either install phpmyadmin, or could do it using mysqldump command.
 

thesilverhawk619

Regular Member
Joined
Aug 12, 2015
Messages
440
Reaction score
172
I do this all the time. Perfectly feasible, especially for low traffic sites.

Transferring the site is the same like cpanel, but you will have to do it via ssh (use zip and unzip packages for zipping). For db backup, you could either install phpmyadmin, or could do it using mysqldump command.

Thank you so much for the motivation. I am gonna try this and put up my story...

Please help me if I ask any dumb questions in the future... Still a learner..:)
 

Julie hara

BANNED
Joined
May 23, 2020
Messages
32
Reaction score
9
I do this all the time. Perfectly feasible, especially for low traffic sites.

Transferring the site is the same like cpanel, but you will have to do it via ssh. Use zip and unzip packages for zipping. For db backup, you could either install phpmyadmin, or could do it using mysqldump command.

Awesome info
 

Gogol

Jr. VIP
Jr. VIP
Joined
Sep 10, 2010
Messages
9,283
Reaction score
15,270
Thank you so much for the motivation. I am gonna try this and put up my story...

Please help me if I ask any dumb questions in the future... Still a learner..:)
Sure. Be sure to tag me to your thread. It's no rocket science nevertheless. I am sure you will learn it in a week max.
 

sendlerad

Jr. VIP
Jr. VIP
Joined
Sep 5, 2007
Messages
602
Reaction score
228
I think you are telling me about redirection... I am talking about 3 different domains with 3 different contents.



I will read more about this... How much it might cost more than the usual droplet.? Have you tried it..?

Other suggestions are not that noob friendly, just go with the cheapest one-click Plesh droplet, for 5-10$ monthly, you can scale up/resize droplet without any interruptions, in case if you get a lot of traffic. Then run multiple WP sites from Plesk panel, as I described... I am running 5k daily visitors site, with a lot of content/media, without any issues, on the cheapest droplet. Just make sure you optimize the WP site itself, by following - https://developers.google.com/speed/pagespeed/insights/ recommendations.
 

thesilverhawk619

Regular Member
Joined
Aug 12, 2015
Messages
440
Reaction score
172
Other suggestions are not that noob friendly, just go with the cheapest one-click Plesh droplet, for 5-10$ monthly, you can scale up/resize droplet without any interruptions, in case if you get a lot of traffic. Then run multiple WP sites from Plesk panel, as I described... I am running 5k daily visitors site, with a lot of content/media, without any issues, on the cheapest droplet. Just make sure you optimize the WP site itself, by following - https://developers.google.com/speed/pagespeed/insights/ recommendations.

Thank you for the valuable suggestions.. :)

I will definitely work on it and will update the details.
 
Top