Multiple Websites on a Droplet (and Other Queries)

  • Posted May 10, 2013

Hi, I am thinking of the following setup with just one droplet:

a. test.[mydomainhere].com //a private test website for my own eyes only b. temp.[mydomainhere].com //a temporary website to showcase what I want to do to the public, will be powered by Wordpress and eventually be shut down in favour of something a bit more permanent c. [mydomainhere].com //the actual website once I am ready d. [any other websites in case I need them]

So, here’s my questions about it:

  1. Will VirtualHosts be enough to create such a setup?
  2. Is it possible to partition my Droplet (like how you do so on your hard disk drive) so that each website get their own sub-Droplet?
  3. Will uninstalling Wordpress affect the entire Droplet (and therefore the other websites)?
  4. What is the difference between the desktop and the server versions when it comes to OSes? (Or rather, am I right to say that the main difference is that the desktop is easier to use due to the inclusion of a GUI but the server is more suited for webhosting?)
  5. Am I right to say that I should just stick to a x32 OS since I have only 512 MB of RAM on my Droplet?



Submit an 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.

Thanks man, now I am trying to get the A and CNAME records to work properly; I can get to my websites via their exact names only (i.e. www.[subdomain].[mydomain].com will not work despite following the guides here… :O) <br> <br>PS: And I managed to get WordPress working on the website too. Was a little tricky in the sense that you cannot remove the wordpress folder after the initial setup (even after you copied the files out to the “correct” /var/www directory); you have to do it before that…

@victoriousrock: Glad to hear it worked!

Ok wait, I figured that out; I forgot to make A records for the subdomains facepalm

I can’t get VirtualHosts to work by the way; tried both guides (the one I posted and the one here) but kept getting 404s :(

Ah, I managed to figure the multiple users part (once I understood how to assign their home directories and set those file permissions correctly); am I right to say that the file permissions should be -rwxr–r-x for Apache to be able to work with them but yet remain secure? <br> <br>PS: I am quite unsure about the security issues; I mean, is there anything else I can do to make the server more secure? I heard about Tripwire but there seem to be no way to apt-get it…

Yes, it should work fine. You can use multiple accounts but make sure Apache can read the files so it can serve them. <br>It’s up to you :]

But that will mean I will be using only one Linux user for all (sub) websites right? <br> <br>PS: I will use this guide for Virtual Hosts since my situation is more towards that (

You can use one user for all virtualhosts, and it’ll work perfectly fine.

Thanks, but I am not sure how to set that up as by following the initial setup guide here, I am unable to log in to the server with the new users (i.e. I can log in with only the new user I made right after logging in as root)…