Answer the question
In order to leave comments, you need to log in
Multiple sites on one server
Good day.
I ordered a simple VPS on hetzner, OS - Debian 6.0 (LAMP).
There is a domain in the RU zone, I recorded the following DNS for it:
ns1.first-ns.de
robotns2.second-ns.de
robotns3.second-ns.com
/var/www/
is a file in the directory index.html
/var/www/
, but, say, in /srv/sitename.domain/www/
or in /srv/sitename.domain/subdomain/
. /srv/
is empty. Answer the question
In order to leave comments, you need to log in
nginx, server_name and listen to help you.
do not listen to evil people about Apache, they wish you harm.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question