Y
Y
Y232016-03-22 11:58:18
DigitalOcean
Y23, 2016-03-22 11:58:18

How to upload multiple sites to one droplets?

How to upload multiple sites to one droplets? And set up NS domain records for these sites?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Serega Nikonorov, 2016-03-22
@MickZub4

put the control panel, for example, vesta

P
Puma Thailand, 2016-03-22
@opium

as well as for any
vps dns, digital ocean has its own in the control panel
, direct all subdomains and domains to ip

I
Ilya Erokhin, 2016-03-23
@AirWorker

1) Register dns of all domains of your sites on the target droplet
2) Configure nginx to listen on port 80, register separate server - server_name directives

server {
  listen  80;
  server_name domain1.ru;
......
}

for the corresponding server directives, specify where to get what from (static files, proxy_pass, etc...)
3) Set up site backends to give where nginx will take it from
. It’s impossible to say more precisely, since the question is very vague

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question