<?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>Henry&#039;s Web Notes &#187; server</title>
	<atom:link href="http://devel.lubong.com/tag/server/feed/" rel="self" type="application/rss+xml" />
	<link>http://devel.lubong.com</link>
	<description>My dev notes about the web</description>
	<lastBuildDate>Wed, 12 Aug 2009 06:18:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Apache: Serving Your Website Without &#8220;www&#8221;</title>
		<link>http://devel.lubong.com/2009/08/11/apache-serving-your-website-without-www/</link>
		<comments>http://devel.lubong.com/2009/08/11/apache-serving-your-website-without-www/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 06:18:22 +0000</pubDate>
		<dc:creator>Henry Lubong</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[virtualhost]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://devel.lubong.com/?p=21</guid>
		<description><![CDATA[In the early days of the web, people used to always type www in front of a domain name. I believe this became a convention to distinguish the web server from other services like the mail server. In reality, there&#8217;s no need for distinction because a typical web server responds to port 80 and the [...]]]></description>
			<content:encoded><![CDATA[<p>In the early days of the web, people used to always type <code>www</code> in front of a domain name. I believe this became a convention to distinguish the web server from other services like the mail server. In reality, there&#8217;s no need for distinction because a typical web server responds to port 80 and the mail server responds to port 25, 110, etc. There was never a rule that requires a website to start with a <code>www</code> or any other prefixes. So typing just your domainname.com should be a valid website address.</p>
<p>These days, it is now a common practice to serve a website either with or without the <code>www</code> prefix. In fact, most companies prefer it without the <code>www</code> because it&#8217;s easier to type and remember. Not to mention, the letter &#8220;w&#8221; has the longest syllable in the alphabet. Try to say that three times before the domain name. And don&#8217;t give me that &#8220;dubdubdub&#8221; stuff <img src='http://devel.lubong.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So, if you&#8217;re hosting your own server and/or have access to the Apache configuration file (it&#8217;s usually httpd.conf or apache2.conf) and running multiple sites, you can copy the following lines in your conf file (replace example.com with your domain name):</p>
<pre>&lt;VirtualHost *&gt;
    DocumentRoot /var/www/web
    ServerName www.example.com
    <strong>ServerAlias example.com</strong>
&lt;/VirtualHost&gt;</pre>
<p>In addition, make sure that the <code>A Record</code> in your DNS setting had the <code>example.com</code> and <code>www.example.com</code> pointing to the same IP address.</p>
]]></content:encoded>
			<wfw:commentRss>http://devel.lubong.com/2009/08/11/apache-serving-your-website-without-www/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux: How To Install Apache And PHP5 In Ubuntu</title>
		<link>http://devel.lubong.com/2009/08/08/linux-how-to-install-apache-and-php5-in-ubuntu/</link>
		<comments>http://devel.lubong.com/2009/08/08/linux-how-to-install-apache-and-php5-in-ubuntu/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 21:16:42 +0000</pubDate>
		<dc:creator>Henry Lubong</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://devel.lubong.com/?p=10</guid>
		<description><![CDATA[From the command line, run the following commands:
sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install libapache2-mod-php5
sudo /etc/init.d/apache2 restart
And that&#8217;s it. Your web server with PHP is ready to go. The default location of the Doument Root can be found in /var/www
If you need a CLI (command-line-interface) for PHP you can run the following command:
sudo [...]]]></description>
			<content:encoded><![CDATA[<p>From the command line, run the following commands:</p>
<p><code>sudo apt-get install apache2<br />
sudo apt-get install php5<br />
sudo apt-get install libapache2-mod-php5<br />
sudo /etc/init.d/apache2 restart</code></p>
<p>And that&#8217;s it. Your web server with PHP is ready to go. The default location of the Doument Root can be found in /var/www</p>
<p>If you need a CLI (command-line-interface) for PHP you can run the following command:</p>
<p><code>sudo apt-get install php5-cli</code></p>
]]></content:encoded>
			<wfw:commentRss>http://devel.lubong.com/2009/08/08/linux-how-to-install-apache-and-php5-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

