[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 379: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4505: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4507: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4508: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4509: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
GreenCubes • Просмотр темы - Как присвоить домену ip адрес с портом?
GreenCubes WikiИнформацияПремиум-магазинНачать игратьКарта мира

Как присвоить домену ip адрес с портом?

Общение на все темы. Оффтоп и оскорбления так же запрещены, как и везде!

Как присвоить домену ip адрес с портом?

Сообщение erikov » 03 сен 2015, 23:07

Есть домен domain.ru, а также есть ip адрес x.x.x.x на котором открыты порты 8123, 1234...
Надо чтоб при переходе на map1.domain.ru открывался x.x.x.x:8123;
при переходе на map2.domain.ru открывался x.x.x.x:1234...
Вот пример:
Заранее спасибо.
||
||
||
||
Изображение
Изображение


      
Аватара пользователя
erikov
 
Сообщения: 523
Зарегистрирован: 19 дек 2011, 20:25
Откуда: Москва

Re: Как присвоить домену ip адрес с портом?

Сообщение TheCrab » 03 сен 2015, 23:16

Невозможно. Порт в домен никак не закодируешь, потому что домен создан для преобразования в человеческий вид только айпишника. Разве что будешь перенаправлять через веб-сервер.
Аватара пользователя
TheCrab
 
Сообщения: 10090
Зарегистрирован: 02 сен 2011, 19:41
Откуда: Cpaнaя Гелиoсфepкa

Re: Как присвоить домену ip адрес с портом?

Сообщение erikov » 03 сен 2015, 23:44

Окей, спасибо.
||
||
||
||
Изображение
Изображение


      
Аватара пользователя
erikov
 
Сообщения: 523
Зарегистрирован: 19 дек 2011, 20:25
Откуда: Москва

Re: Как присвоить домену ip адрес с портом?

Сообщение Rena4ka » 04 сен 2015, 03:18

Если ты делаешь веб-сервер, то тебе это не нужно, разные веб-серверы можно повесить на разные домены. Если ты делаешь что-то другое, то в большинстве случаев ты не можешь сделать этого, например, FTP не поддерживает такое.
Аватара пользователя
Rena4ka
Judgmento desu no!
 
Сообщения: 9480
Зарегистрирован: 18 фев 2011, 22:46
Откуда: Информационное пространство Земли


Вернуться в Свободные темы



Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 4

cron