I have a domain, let's say example.com
I know that it is possible to use example.com
as a "extension". I know I am using the wrong term, but I don't know the technical term.
What I means is, having something like site.example.com
and another.example.com
I have a Ubuntu 16
machine running nginx
, serving content at example.com
.
How can I make this machine serve one content at site.example.com
and another at another.example.com
?
Thank you!