Setting up a server from scratch (zero)

  • Posted on June 14, 2014
  • a5622118Asked by a5622118

Hi, I’m a freshman girl and I like to ride my own server. I’ve been reading a lot these days, and I’ve chosen to install nginx instead of apache, mysql, php and git instead of ftp. I would also like to have an email service, will use iredmail.

I have already installed Git. What I want to do with git?. I tell you, I use netbeans for my php (maybe not the best, but I will well and I like it), when I’m making a website is synchronized with github (I give commit and push and I step on the platform). That’s what I want that but on my server. When I finished making a page (for example nav.php) netbeans I commit to you and push and already have it on my hosted server, and people can see that change.

I installed the application iredmail I from my website I can see my email but I can not send or receive messages. Will you be able to explain to me how to do it?

For nginx, mysql and php I have read that there are “tricks” to go faster, “tricks” on safety tips that should make my web site is safer and faster.

And finally, what do you prefer ubuntu server 14.04 or debian 7.0 ?

Thank you for your attention.

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.


I’d suggest taking a look around our tutorial section. We have articles covering all sorts of server related topics. For instance, here’s one that should point you in the right direction for setting up git to deploy your website:

There’s also an article on setting up iRedMail on Ubuntu:

And one on optimizing you Nginx configuration:

For more specific questions, it’s usually better to open a new question for each topic.

Let us know how it goes!