﻿<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>LinuxLane.com &#187; virtualhost</title>
	<atom:link href="http://www.linuxlane.com/tag/virtualhost/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxlane.com</link>
	<description>เรียนรู้การใช้งาน ลีนุกซ์ [ Linux ]</description>
	<lastBuildDate>Fri, 03 Sep 2010 06:42:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>การติดตั้ง  Virtual Host ของ Apache บน Ubuntu Linux</title>
		<link>http://www.linuxlane.com/virtual-host-apache-on-ubuntu-linux/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.linuxlane.com/virtual-host-apache-on-ubuntu-linux/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 08:12:51 +0000</pubDate>
		<dc:creator>Chatpong Duangbung</dc:creator>
				<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[บทความ]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[virtualhost]]></category>

		<guid isPermaLink="false">http://www.linuxlane.com/?p=267</guid>
		<description><![CDATA[Virtual Host ก็เป็นวิธีการทำให้ เครื่องเซิร์ฟเวอร์ 1 เครื่อง หรือไอพี 1 หมายเลข สามารถให้บริการได้หลายเว็บไซต์ ซึ่งในตัวอย่างข้างล่างนี้ เป็นตัวอย่างของการทำ Virtual Host บน Ubuntu Linux 9.10 Server นะครับ ซึ่งเวอร์ชั่นอื่นๆ ก็สามารถใช้งานได้ในแนวทางเดียวกัน 1. ทำการตั้งตัวแปร NameVirtualHost ให้ชี้ไปยังไอพีของเซิร์ฟเวอร์ ซึ่งถ้าเป็น Ubuntu Linux จะแก้ไขที่ไฟล์  /etc/apache2/ports.conf ครับ sudo    vim    /etc/apache2/ports.conf จาก NameVirtualHost *:80 เป็น NameVirtualHost xxx.xxx.xxx.xxx:80 โดยในที่นี้ xxx.xxx.xxx.xxx เป็นหมายเลขไอพีของเครื่องเซิร์ฟเวอร์นั่นเองครับ เมื่อเสร็จแล้วให้ทำการบันทึกไฟล์ได้เลย 2. จากนั้นทำการสร้างพื้นที่เก็บเว็บไซต์ sudo   mkdir    /var/www/my.linuxlane.com 3. [...]]]></description>
		<wfw:commentRss>http://www.linuxlane.com/virtual-host-apache-on-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>


