Линод дает вам URL?

750
broinjc

Я только что получил линод. Под удаленным доступом я вижу,

li280-180.members.linode.com 

Если я правильно настрою свой линод, могу ли я дать этот URL кому-то для доступа к моим размещенным файлам? Скажите приложение django или несколько архивов?

Могу ли я просто настроить свой сервер и использовать этот адрес без регистрации доменного имени?

0
Не могли бы вы уточнить, что вы подразумеваете под «Я не хочу ждать разрешения DNS»? grawity 10 лет назад 1
Могу ли я просто настроить свой сервер и использовать этот адрес без регистрации доменного имени? broinjc 10 лет назад 0

2 ответа на вопрос

1
Xyon

I see your apache's default "It works" page when I hit that URL with my browser (assuming that's your linode box).

If you desperately need to shunt some files out of it quickly, use that address as your vhost's 'ServerName', point it at a filesystem path, and let Apache serve an index of that location to your other person.

So, for instance, you could make a directory in /srv/www/temporary_just_for_now/, and then make an Apache virtualhost which serves from /srv/www/temporary_just_for_now as its DocumentRoot, with Indexes on and with the ServerName set to li280-180.members.linode.com with the name based virtualhost option.

1
bwDraco

Yes, you can. Linode has its own DNS servers and assigns subdomains to each server. Your subdomain li280-180.members.linode.com will resolve to your server's IP address.

I can say it works for me: http://li650-40.members.linode.com/ and http://www.fierydragonlord.com/ both resolve to 23.92.20.40.

Похожие вопросы