I
I
irdaxirdaxirdax2021-05-04 12:50:29
Nginx
irdaxirdaxirdax, 2021-05-04 12:50:29

Set up nginx and DNS to subdomains on the same IP?

I want to make two domains:
fosss.ru
auth.fosss.ru

In nginx, I configured the config for two servers, but how to configure dns if both sites are on the same IP?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Yuriev, 2021-05-04
@irdaxirdaxirdax

In nginx, I configured the config for two servers
I believe that all the same, on two different hosts, and not a server
but how to set up dns if both sites are on the same IP
assign one IP to both domains via A-records
your captain obvious

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question