Size: a a a

2020 January 23

AY

Andrey Yanda in nginx_ru
Данил Васильевич
ну если он не подключен то на все запросы будет нет доступа.
So you can configure nginx server {} and test this configuration after add record to hosts file or local dns-server.
PS: sorry for my poor english)
источник

k

kiosaku in nginx_ru
you could configure nginx even if domain not delegated
источник

k

kiosaku in nginx_ru
use any of these tools in command line to check if domain name has IP address assigned
источник

ДВ

Данил Васильевич in nginx_ru
Andrey Yanda
So you can configure nginx server {} and test this configuration after add record to hosts file or local dns-server.
PS: sorry for my poor english)
Is it possible to do dns test before connecting it. I wrote a config but there is no result.
p.s I am Russian I do not have a keyboard for Russian characters. Therefore, I use a translator.
источник

ДВ

Данил Васильевич in nginx_ru
kiosaku
you could configure nginx even if domain not delegated
But how can I verify the delegated domain or not. The configuration is configured but I'm not sure that I did everything right.
источник

AY

Andrey Yanda in nginx_ru
Данил Васильевич
Is it possible to do dns test before connecting it. I wrote a config but there is no result.
p.s I am Russian I do not have a keyboard for Russian characters. Therefore, I use a translator.
А, ок. Можете писать транслитом, как вариант. Или на английском, а то перевод просто ужасен. Ладно, насчет теста перед поворотом DNS - как я писал, можно добавить соответствующую запись в файл hosts на локальном компе. Или в свой локальный DNS, настроив RPZ (в случае с bind)
источник

ДВ

Данил Васильевич in nginx_ru
zapis dobavlena. no otvet na zapros "Unable to access site"
источник

MD

M Dan in nginx_ru
just do curl yourdomain.com -v
источник

MD

M Dan in nginx_ru
and check ip
источник

MD

M Dan in nginx_ru
if ip yours it's okay
источник

MD

M Dan in nginx_ru
now configure nginx and do a job
источник

AY

Andrey Yanda in nginx_ru
Хм, забыл про curl)) можно так (в случае с SSL): curl —resolve domain.com:443:NEW_IP_OF_THIS_SITE https://domain.com
источник

MD

M Dan in nginx_ru
врать не буду курл у меня инструмент для всей параши. надо проверить октрыт ли порт mysql? curl! ssh? курл! postgres/mongo/etc? curl!
источник

AY

Andrey Yanda in nginx_ru
мсье знает толк в извращениях))
источник

ДВ

Данил Васильевич in nginx_ru
M Dan
just do curl yourdomain.com -v
with this request, the answer was not with my ip. So delegation has not passed yet?
источник

AY

Andrey Yanda in nginx_ru
Данил Васильевич
with this request, the answer was not with my ip. So delegation has not passed yet?
Посмотрите мое сообщение по поводу курла, там более правильный вариант
источник

AY

Andrey Yanda in nginx_ru
да, еще флаг -v надо добавить
источник

ДВ

Данил Васильевич in nginx_ru
ssl certificate is not currently using
источник

AY

Andrey Yanda in nginx_ru
Данил Васильевич
ssl certificate is not currently using
curl -v —resolve domain.com:80:NEW_IP_OF_THIS_SITE http://domain.com
источник

AY

Andrey Yanda in nginx_ru
значит так
источник