Setting up server to be scalable

  • Posted on June 14, 2014
  • NerullAsked by Nerull

Hi, im setting up a website that will initially start out small but parts of it will need upgrading sooner then others. For example my forums will most likely remain small, my shop will hopefully grow to be a decent site and my video sharing section will prob be medium sized.

My thoughts were to set it up with the following $5 droplets and upgrade them as they become to small.

  1. db server droplet
  2. shop
  3. video
  4. forums/main portal

I would also like an email server on there somewhere.

I was hoping to have this set up so that it will all be, /videos /store so i can use 1 ssl cert for them all.

My main question is, is this overkill? would i be better off putting 1,2,4 on the 1 droplet and the videos on another? And on a technical points would i just use a .htaccess redirect on 4 to have the others as subfolders? Would the ssl cert work over multiple servers like this?

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

That sounds like a reasonable set up. You could probably condense things a bit it you wanted to. If you go that route, I’d argue for keeping the database server on a separate droplet. Check out this article for a good starting off point on thinking about different setups:

SSL certificates are bound to a hostname, not the server. So it’s fine to use one on multiple servers. As for using .htaccess redirects, I’m personally a fan of subdomains for this sort of thing, eg: and Than you can just use ServerName directives in your VirtualHosts.