Report this

What is the reason for this report?

How do I get from a fresh LEMP server to a live website?

Posted on November 23, 2017

Hi there,

I’m trying to set up a secure, high performance server for sites that I can configure in a step-by-step manner. Here’s the goal:

  • LEMP
  • MariaDB
  • NGINX
  • HSTS (EV SSL cert)
  • Will want to replicate for many sites
  • On a Mac
  • Several subdomains
  • Drupal 8
  • Maximum speed, compression, and efficiency tools you can suggest (redis, varnish, gzip)

I’ve dabbled in server stuff in the past, but it’s not my forte and I’d rather follow the guidance of a pro than risk missing details or deploying something unstable/unsafe.

Thanks in advance!

Best, Phil



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!

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.

Hi there,

Just a follow up on this question in case anyone comes across this in the future.

One option is to use SFTP and upload your website via FileZilla for example as described here:

https://www.digitalocean.com/community/tutorials/how-to-use-sftp-to-securely-transfer-files-with-a-remote-server

Once you’ve uploaded your websites, you could add separate Nginx server blocks for each website as described here:

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

Best,

Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.