<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; Настройка веб-сервера]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=10077</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=10077&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Настройка веб-сервера».]]></description>
		<lastBuildDate>Thu, 23 Jun 2011 10:32:32 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Настройка веб-сервера]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=190152#p190152</link>
			<description><![CDATA[<p>может быть</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Thu, 23 Jun 2011 10:32:32 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=190152#p190152</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка веб-сервера]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=190116#p190116</link>
			<description><![CDATA[<p>Все, разобрался. Помог пост <strong>Kettler</strong>.<br />Только в конфиге /etc/apache2/apache2.conf не было строки include /etc/apache2/sites-enables/, но это натолкнуло на правильное решение.<br />Закомментировал<br />#Include httpd.conf<br />и в самом низу добавил<br />include /etc/apache2/sites-enabled<br /><strong>Kettler</strong>, извини конечно, но у тебя ошибка &quot;sites-enables&quot;, которая вызывает ошибку синтаксиса при перезапуске apache.</p>]]></description>
			<author><![CDATA[null@example.com (ERT)]]></author>
			<pubDate>Thu, 23 Jun 2011 08:21:45 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=190116#p190116</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка веб-сервера]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=190081#p190081</link>
			<description><![CDATA[<p>У меня два доменных имени и, соответственно, в apache два виртуальных хоста. Было все нормально, работало. Теперь по любому из двух доменных имен открывается один и тот же сайт, второй ни в какую не хочет. Причем ранее, я еще два тестовых добавлял и каждый открывался как надо, под своим доменом. Как такое могло произойти?</p>]]></description>
			<author><![CDATA[null@example.com (ERT)]]></author>
			<pubDate>Wed, 22 Jun 2011 23:32:38 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=190081#p190081</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка веб-сервера]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=137254#p137254</link>
			<description><![CDATA[<p>ну лан)))<br />в конфиге<br />/etc/apache2/apache2.conf<br />должна быть строка разкоментирована<br />include /etc/apache2/sites-enables/</p><p>в /etc/apache2/sites-enables/<br />например test.ru<br />cat test.ru</p><p>VirtualHost *:80&gt;<br />&nbsp; &nbsp; &nbsp; ServerName test.ru<br />&nbsp; &nbsp; &nbsp; ServerAlias test.ru<br />&nbsp; &nbsp; &nbsp; DocumentRoot /var/www/test<br />&lt;/VirtualHost&gt;</p><p>Это самый простой пример.<br />И после этого вам надо у регистратора домменого имени на травить на ваш ип.<br />И ждать пока обновиться у провайдеров записи.<br />Для того чтоб проверить можете у себя такс.<br />в /etc/hosts<br />8.8.8.8&nbsp; &nbsp; &nbsp; &nbsp; test.ru<br />ток за 8.8.8.8 ваш ип выделенного сервера.</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Thu, 27 Jan 2011 09:53:25 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=137254#p137254</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка веб-сервера]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=137245#p137245</link>
			<description><![CDATA[<p>На счёт /etc/hosts например<br />8.8.8.8&nbsp; &nbsp; &nbsp; &nbsp; vkontakte.ru<br />Ну это вам для размышлений.</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Thu, 27 Jan 2011 09:34:17 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=137245#p137245</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка веб-сервера]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=137240#p137240</link>
			<description><![CDATA[<div class="quotebox"><cite>cat /etc/hosts пишет:</cite><blockquote><p>#<br /># hosts&nbsp; &nbsp; &nbsp; &nbsp; This file describes a number of hostname-to-address<br />#&nbsp; &nbsp; &nbsp; &nbsp; mappings for the TCP/IP subsystem.&nbsp; It is mostly<br />#&nbsp; &nbsp; &nbsp; &nbsp; used at boot time, when no name servers are running.<br />#&nbsp; &nbsp; &nbsp; &nbsp; On small systems, this file can be used instead of a<br />#&nbsp; &nbsp; &nbsp; &nbsp; &quot;named&quot; name server.&nbsp; Just add the names, addresses<br />#&nbsp; &nbsp; &nbsp; &nbsp; and any aliases to this file...<br />#<br /># By the way, Arnt Gulbrandsen &lt;agulbra@nvg.unit.no&gt; says that 127.0.0.1<br /># should NEVER be named with the name of the machine.&nbsp; It causes problems<br /># for some (stupid) programs, irc and reputedly talk. :^)<br />#</p><p># For loopbacking.<br />127.0.0.1&nbsp; &nbsp; &nbsp; &nbsp; localhost</p><p># End of hosts.</p></blockquote></div><p>можно перевести в гуглопереводчике.<br /></p><div class="quotebox"><cite>well-its-me пишет:</cite><blockquote><p>Я правильно понял, что могу перечислить через пробел все требуемые доменные имена, включая их же, но с префиксом www?</p></blockquote></div><p>можете.<br /></p><div class="quotebox"><cite>well-its-me пишет:</cite><blockquote><p>Хорошо, какие пакеты мне нужно установить для нормальной работы?</p></blockquote></div><p>я не знаю. <br />гугл пишет что этот нужен: <a href="http://packages.debian.org/lenny/dnsutils">http://packages.debian.org/lenny/dnsutils</a><br />лично я ещё и bind9 поставил - здорово ускоряет интернет.</p>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Thu, 27 Jan 2011 09:27:58 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=137240#p137240</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка веб-сервера]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=137239#p137239</link>
			<description><![CDATA[<p>Автор у вас как понял всё стоит (apache + php и так далее)?<br />ls /etc/apache2/sites-available<br />1) вывод ну а точнее для начала сам конфиг покажите.<br />2) какое доменное имя.<br />3) какой ип у выделенки.<br />4) а домменое имя подстроили на новый ип.</p><p>На счёт /etc/hosts не парьте себе мозг он не причём.</p>]]></description>
			<author><![CDATA[null@example.com (Kettler)]]></author>
			<pubDate>Thu, 27 Jan 2011 09:24:24 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=137239#p137239</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка веб-сервера]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=137236#p137236</link>
			<description><![CDATA[<p><strong>kisil</strong><br /></p><div class="quotebox"><blockquote><p>127.0.0.1 localhost<br />реальная_айпишка&nbsp; domain.name</p></blockquote></div><p>Сделано. Я правильно понял, что могу перечислить через пробел все требуемые доменные имена, включая их же, но с префиксом www?</p><div class="quotebox"><blockquote><p>Ты доступ к серверу имееш тока по ssh. А запись &quot;доменое_имя-айпи_адрес&quot; точно прописан в ДНС зоне провайдера?</p></blockquote></div><p>Только ssh, a и ns прописаны верно.</p><p><strong>drBatty</strong><br />Хорошо, какие пакеты мне нужно установить для нормальной работы?</p>]]></description>
			<author><![CDATA[null@example.com (well-its-me)]]></author>
			<pubDate>Thu, 27 Jan 2011 09:12:08 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=137236#p137236</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка веб-сервера]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=137195#p137195</link>
			<description><![CDATA[<p><strong>well-its-me</strong>, ну поставьте все сетевые утилиты. как вы собрались настраивать без инструментов?</p>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Thu, 27 Jan 2011 07:43:06 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=137195#p137195</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка веб-сервера]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=137102#p137102</link>
			<description><![CDATA[<div class="quotebox"><cite>well-its-me пишет:</cite><blockquote><p>С чем ассоциировать ip?</p></blockquote></div><p>С именем<br /></p><div class="quotebox"><cite>well-its-me пишет:</cite><blockquote><p>/etc/hosts.</p><p>127.0.0.1 localhost</p></blockquote></div><p>реальная_айпишка&nbsp; domain.name</p><p>Ты доступ к серверу имееш тока по ssh. А запись &quot;доменое_имя-айпи_адрес&quot; точно прописан в ДНС зоне провайдера?</p>]]></description>
			<author><![CDATA[null@example.com (kisil)]]></author>
			<pubDate>Wed, 26 Jan 2011 19:21:33 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=137102#p137102</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка веб-сервера]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=137036#p137036</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>от рута же!</p></blockquote></div><p>Логин под рутом, поэтому без su.</p>]]></description>
			<author><![CDATA[null@example.com (well-its-me)]]></author>
			<pubDate>Wed, 26 Jan 2011 15:52:01 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=137036#p137036</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка веб-сервера]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=137034#p137034</link>
			<description><![CDATA[<div class="quotebox"><cite>well-its-me пишет:</cite><blockquote><p>&quot;-bash: nslookup: command not found&quot; - не работает днс на машине?</p></blockquote></div><p>от рута же!</p>]]></description>
			<author><![CDATA[null@example.com (drBatty)]]></author>
			<pubDate>Wed, 26 Jan 2011 15:49:39 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=137034#p137034</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка веб-сервера]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=137033#p137033</link>
			<description><![CDATA[<p>С чем ассоциировать ip?</p>]]></description>
			<author><![CDATA[null@example.com (well-its-me)]]></author>
			<pubDate>Wed, 26 Jan 2011 15:47:51 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=137033#p137033</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка веб-сервера]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=137032#p137032</link>
			<description><![CDATA[<p>ну прописывай ip домена в hosts</p>]]></description>
			<author><![CDATA[null@example.com (mogul82)]]></author>
			<pubDate>Wed, 26 Jan 2011 15:41:34 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=137032#p137032</guid>
		</item>
		<item>
			<title><![CDATA[Re: Настройка веб-сервера]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=137031#p137031</link>
			<description><![CDATA[<p>Убрано, Апач перезапущен - все осталось на своих местах.</p>]]></description>
			<author><![CDATA[null@example.com (well-its-me)]]></author>
			<pubDate>Wed, 26 Jan 2011 15:31:56 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=137031#p137031</guid>
		</item>
	</channel>
</rss>
