<?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>Unix Sysadmin &#187; Web Hosting</title>
	<atom:link href="http://www.sysadmindayph.com/blog/category/web-hosting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sysadmindayph.com/blog</link>
	<description>SysAdmin Blog, TechTips and Reviews</description>
	<lastBuildDate>Fri, 27 Jan 2012 04:36:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Setting Up Custom Name Server at your Registrar</title>
		<link>http://www.sysadmindayph.com/blog/setting-up-custom-name-server-at-your-registrar/</link>
		<comments>http://www.sysadmindayph.com/blog/setting-up-custom-name-server-at-your-registrar/#comments</comments>
		<pubDate>Mon, 11 May 2009 14:40:47 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[custome name server]]></category>
		<category><![CDATA[go daddy]]></category>
		<category><![CDATA[name server]]></category>
		<category><![CDATA[registrar]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=147</guid>
		<description><![CDATA[Just want to note here steps on how to setup your own custom name server from your registrar. In my case, I had to do it on GoDaddy. But of course there are tons of webpages out there that explains how to do it in different registrar.. on this post I just took the part &#8230; <a href="http://www.sysadmindayph.com/blog/setting-up-custom-name-server-at-your-registrar/">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>Just want to note here steps on how to setup your own custom name server from your registrar. In my case, I had to do it on GoDaddy. But of course there are tons of webpages out there that explains how to do it in different registrar.. on this post I just took the part where they enumerate procedures for GoDaddy.</p>
<p><span id="more-147"></span></p>
<p>This post was created because of the email from one of my webhosting account&#8230; They said that my dedicated server is ready and I can now set up my own custom name server. They even offer to help if I don&#8217;t know how to do it. I just need to give them my account info&#8230;. sure&#8230; NOT.</p>
<p>Here&#8217;s how to do it in GoDaddy:</p>
<p><strong><a class="ext" href="http://godaddy.com/">GoDaddy</a></strong><br />
1. Login to your <a class="missingpage" title="Create this page" href="http://wiki.asmallorange.com/GoDaddy/edit">GoDaddy</a> Account.<br />
2. Click on My Account<br />
3. Click on Manage Domains<br />
4. Click on the domain name you want to modify.<br />
5. In the lower left corner of the page, there is a Host Summary. Click Add.<br />
6. Enter the ns1 and ns2 and IP addresses. Then click OK.<br />
7. Click the Nameservers icon across the top.<br />
8. Change the nameservers to the ones you just created.</p>
<p>Try it! Goodluck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/setting-up-custom-name-server-at-your-registrar/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>301 Redirects &#124; .htaccess Redirects</title>
		<link>http://www.sysadmindayph.com/blog/301-redirects-htaccess/</link>
		<comments>http://www.sysadmindayph.com/blog/301-redirects-htaccess/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 07:45:18 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[web server]]></category>
		<category><![CDATA[Webmaster]]></category>
		<category><![CDATA[301 redirect]]></category>
		<category><![CDATA[shared web host]]></category>
		<category><![CDATA[web site]]></category>
		<category><![CDATA[webhosting]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=96</guid>
		<description><![CDATA[301 .htaccess redirect is the safest search engine redirect there is! This is also the friendliest method for web page redirection. Most web hosting company and web master out there will definitely recommend this method of web page redirection. The code &#8220;301&#8243; is interpreted as &#8220;moved permanently&#8221;. For websites hosted in either dedicated server or &#8230; <a href="http://www.sysadmindayph.com/blog/301-redirects-htaccess/">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" style="float: left; border: 2px solid black; margin-left: 10px; margin-right: 10px;" src="http://www.bestrank.com/blog/wp-content/uploads/2008/02/301redirect.gif" alt="301 redirect" width="240" height="267" /></p>
<p><strong>301 .htaccess redirect</strong> is the safest search engine redirect there is! This is also the friendliest method for <a href="http://www.sysadmindayph.com/blog/301-redirects-htaccess">web page redirection</a>. Most web hosting company and web master out there will definitely recommend this method of web page redirection. The code &#8220;301&#8243; is interpreted as &#8220;moved permanently&#8221;.</p>
<p>For websites hosted in either dedicated server or a <a href="http://www.sysadmindayph.com/blog/shared-web-hosting/">shared web hosting server</a>, you use 301 redirects in redirecting a single html page or an entire website.</p>
<p>Here&#8217;s and example of redirecting a single page/html page:</p>
<p><span id="more-96"></span></p>
<blockquote><p>Redirect 301 /oldpage.html http://www.example.com/newpage.html</p></blockquote>
<p>For a whole website, you can use 301 redirect in this manner:</p>
<blockquote><p>Redirect 301 / http://www.example.com/</p></blockquote>
<p>Personally on my shared web hosted site, I only use the  HTML redirect. But there are other use of the 301 redirect on a web sites.</p>
<p>Here are other use of it:</p>
<ol>
<li>Changed file extension</li>
<li>Redirect web site with &#8216;www&#8217; to not having one.</li>
<li>vice versa of the previous example.</li>
<li>Redirect example.com/index.php to example.com/</li>
</ol>
<p>So next time you moved your web site content from one web hosting server provider to another or moving your site to a new domain name, you can definitely use the 301 redirect.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/301-redirects-htaccess/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Reverse IP Domain Lookup Website</title>
		<link>http://www.sysadmindayph.com/blog/reverse-ip-domain-lookup-website/</link>
		<comments>http://www.sysadmindayph.com/blog/reverse-ip-domain-lookup-website/#comments</comments>
		<pubDate>Sun, 24 Aug 2008 14:43:48 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[web server]]></category>
		<category><![CDATA[Website Review]]></category>
		<category><![CDATA[reverse domain]]></category>
		<category><![CDATA[reverse ip]]></category>
		<category><![CDATA[reverse lookup]]></category>
		<category><![CDATA[same ip]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=94</guid>
		<description><![CDATA[This post is still related or somewhat helpful to our virtual web hosting/how to start a blog series of post. The Reverse IP Domain Lookup tool will help you determine information about your shared web server. If you do a quick Google search for &#8216;reverse IP domain lookup&#8216;, you&#8217;ll see that there are more than &#8230; <a href="http://www.sysadmindayph.com/blog/reverse-ip-domain-lookup-website/">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>This post is still related or somewhat helpful to our <a title="virtual web server" href="http://www.sysadmindayph.com/blog/configure-virtual-hosting-in-apache-web-server/">virtual web hosting</a>/<a title="start a blog" href="http://www.sysadmindayph.com/blog/system-administrators-guide-of-starting-a-blog/">how to start a blog</a> series of post. The Reverse IP Domain Lookup tool will help you determine information about your <a title="shared web server" href="http://www.sysadmindayph.com/blog/shared-web-hosting/">shared web server</a>.</p>
<p>If you do a quick Google search for &#8216;<a title="reverse ip domain" href="http://thesameip.com">reverse IP domain lookup</a>&#8216;, you&#8217;ll see that there are more than a couple of websites that offer such a tool.</p>
<p>The specific website I&#8217;ll be mentioning here is The Same IP, which is also the same as the commercial type.</p>
<p>THE SAME IP</p>
<p><span id="more-94"></span></p>
<p>What The Same IP do basically is to check the multiple PTR record for a particular domain on it&#8217;s authoritative domain name server.</p>
<p>While most rDNS entries only have one PTR record, it is perfectly legal to have many different PTR records. However, having multiple PTR records for the same IP address is generally not recommended unless there is a specific need. For example, if a webserver supports many <a class="mw-redirect" title="Virtual host" href="http://en.wikipedia.org/wiki/Virtual_host">virtual hosts</a>, there can be one PTR record for each host and some versions of name server software will automatically add a PTR record for each host.</p>
<p>Multiple PTR records can cause a couple of problems, including triggering bugs in programs that only expect there to ever be a single PTR record and, in the case of a large webserver, having hundreds of PTR records can cause the DNS packets to be much larger than normal.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/reverse-ip-domain-lookup-website/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Shared Web Hosting</title>
		<link>http://www.sysadmindayph.com/blog/shared-web-hosting/</link>
		<comments>http://www.sysadmindayph.com/blog/shared-web-hosting/#comments</comments>
		<pubDate>Sat, 23 Aug 2008 07:10:08 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[web server]]></category>
		<category><![CDATA[ISP]]></category>
		<category><![CDATA[webhosting]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=93</guid>
		<description><![CDATA[This post is somewhat related to the configuring Apache for virtual hosting post we did couple of days ago. Well, this is intentional anyway since I want to make a series of post that will help those who want to start a blog and would like to know all the technicalities in doing one. This &#8230; <a href="http://www.sysadmindayph.com/blog/shared-web-hosting/">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>This post is somewhat related to the <a title="virtual host apache" href="http://www.sysadmindayph.com/blog/configure-virtual-hosting-in-apache-web-server/">configuring Apache for virtual hosting</a> post we did couple of days ago. Well, this is intentional anyway since I want to make a series of post that will help those who want to start a blog and would like to know all the technicalities in doing one.</p>
<p>This time, it&#8217;s about <a title="shared web hosting" href="http://www.sysadmindayph.com/blog/shared-web-hosting/"><strong>Shared Web Hosting</strong></a>.</p>
<p><strong>What is Shared Webhosting?</strong></p>
<p>We can define this in a super &#8216;made sense&#8217; kind of way. Let&#8217;s first define what  a web hosting is. Web hosting is a service you get (or buy) from an internet service provider or a web hosting company, where in they will give you a server for you to host your website/blog/forum or what-have-you.</p>
<p>The <strong>web hosting package</strong> usually includes many other services. Basic package of course is the amount of hard disk space your package has, and the amount of monthly traffic/bandwith it comes bundled with.</p>
<p><span id="more-93"></span></p>
<p>The above definition both describes the dedicated web hosting and a shared  hosting. The only difference is that in a shared web hosting, you share the server with other webmasters or their websites.</p>
<p>Another difference is that you will be the main <strong>system administrator </strong>of your server while in a shared web host, there is one common admin that manages all the accounts (which is an advantage if you&#8217;re not familiar with the technicalities)</p>
<p>In shared hosting, the provider is generally responsible for managing servers, installing server software, security updates, technical support, and other aspects of the service. Most servers are based on the Linux operating system and LAMP (software bundle), which is driven by the low cost of open source software.</p>
<p>On a future post, we&#8217;ll discuss the advantages and disadvantages of a shared webhosting service.</p>
<p>Till next time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/shared-web-hosting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configure Virtual Hosting in Apache Web Server</title>
		<link>http://www.sysadmindayph.com/blog/configure-virtual-hosting-in-apache-web-server/</link>
		<comments>http://www.sysadmindayph.com/blog/configure-virtual-hosting-in-apache-web-server/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 12:59:32 +0000</pubDate>
		<dc:creator>elizar</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[web server]]></category>
		<category><![CDATA[multiple domain]]></category>
		<category><![CDATA[shared server]]></category>
		<category><![CDATA[virtual host]]></category>

		<guid isPermaLink="false">http://www.sysadmindayph.com/blog/?p=90</guid>
		<description><![CDATA[When we say or mention the word Web Server, the first thing that comes to our mind is Apache, right? (if you don&#8217;t then what are you doing here reading this? ) Apache is the most well known open source web server there is! Open source?? Make that the most wildly used webserver on the &#8230; <a href="http://www.sysadmindayph.com/blog/configure-virtual-hosting-in-apache-web-server/">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>When we say or mention the word Web Server, the first thing that comes to our mind is Apache, right? (if you don&#8217;t then what are you doing here reading this? <img src='http://www.sysadmindayph.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> )</p>
<p>Apache is the most well known open source web server there is! Open source?? Make that the most wildly used webserver  on the internet, period!</p>
<p>It is believed (and i know they made a survey or study about it) that Apache takes 90% of all web servers in the internet. Most web hosting company, and I&#8217;ve once worked in one, use Apache.</p>
<p>This post will talk about how to setup Apache for Virtual Hosting</p>
<p><span id="more-90"></span></p>
<p>Setting Up A Virtual Host in Apache</p>
<p>create a completely seperate document root, cgi-bin directory, and logfile directory for each host. You can place these beneath the standard Debian prefix of /var/www or you may use a completely different root</p>
<blockquote>
<pre>root@irony:~# mkdir /home/www

root@irony:~# mkdir /home/www/www.example.com
root@irony:~# mkdir /home/www/www.example.com/htdocs
root@irony:~# mkdir /home/www/www.example.com/cgi-bin
root@irony:~# mkdir /home/www/www.example.com/logs

root@irony:~# mkdir /home/www/www.example.net
root@irony:~# mkdir /home/www/www.example.net/htdocs
root@irony:~# mkdir /home/www/www.example.net/logs
root@irony:~# mkdir /home/www/www.example.net/cgi-bin

root@irony:~# mkdir /home/www/www.example.org
root@irony:~# mkdir /home/www/www.example.org/htdocs
root@irony:~# mkdir /home/www/www.example.org/logs

root@irony:~# mkdir /home/www/www.example.org/cgi-bin</pre>
</blockquote>
<p>NEt<br />
Here we&#8217;ve setup three different directory trees, one for each site. If you wanted to have identical content it might make sense to only create one, and then use symbolic links instead.</p>
<p>The next thing to do is to enable virtual hosts in your Apache configuration. The simplest way to do this is to create a file called /etc/apache2/conf.d/virtual.conf and include the following content in it:</p>
<blockquote>
<pre>#
#  We're running multiple virtual hosts.
#
Nameserver *

NameVirtualHost *</pre>
</blockquote>
<p>(When Apache starts up it reads the contents of all files included in /etc/apache2/conf.d, and files you create here won&#8217;t get trashed on package upgrades.)</p>
<p>Once we&#8217;ve done this we can create the individual host configuration files. The Apache2 setup you&#8217;ll find on Debian GNU/Linux includes two directories for locating your site configuration files:</p>
<p>/etc/apache2/sites-available</p>
<p>This contains configuration files for sites which are available but not necessarily enabled.<br />
/etc/apache2/sites-enabled</p>
<p>This directory contains site files which are enabled.</p>
<p>As with the conf.d directory each configuration file in the sites-enabled directory is loaded when the server starts &#8211; whilst the files in sites-available are completely ignored.</p>
<p>You are expected to create your host configuration files in /etc/apache2/sites-available, then create a symbolic link to those files in the sites-enabled directory &#8211; this will cause them to be actually loaded/read.</p>
<p>Rather than actually messing around with symbolic links the Debian package includes two utility commands a2ensite and a2dissite which will do the necessary work for you as we will demonstrate shortly.</p>
<p>Lets start with a real example. Create /etc/apache2/sites-available/www.example.com with the following contents:</p>
<blockquote>
<pre>#
#  Example.com (/etc/apache2/sites-available/www.example.com)
#
&lt;VirtualHost *&gt;
ServerAdmin webmaster@example.com
ServerName  www.example.com
ServerAlias example.com

# Indexes + Directory Root.
DirectoryIndex index.html
DocumentRoot /home/www/www.example.com/htdocs/

# CGI Directory
ScriptAlias /cgi-bin/ /home/www/www.example.com/cgi-bin/
&lt;Location /cgi-bin&gt;
Options +ExecCGI
&lt;/Location&gt;

# Logfiles
ErrorLog  /home/www/www.example.com/logs/error.log
CustomLog /home/www/www.example.com/logs/access.log combined

&lt;/VirtualHost&gt;</pre>
</blockquote>
<p>ow we&#8217;ve got:</p>
<ul>
<li>Three directories which can be used to contain our content.</li>
<li>Three directories which can be used to contain our logfiles.</li>
<li>Three directories which can be used to contain our dynamic CGI scripts.</li>
<li>Three configuration files which are being ignored by Apache.</li>
</ul>
<p>To enable the sites simply run:</p>
<pre>root@irony:~# a2ensite www.example.com
Site www.example.com installed; run /etc/init.d/apache2 reload to enable.

root@irony:~# a2ensite www.example.net
Site www.example.net installed; run /etc/init.d/apache2 reload to enable.

root@irony:~# a2ensite www.example.org
Site www.example.org installed; run /etc/init.d/apache2 reload to enable.</pre>
<p>This will now create the symbolic links so that <tt>/etc/apache2/sites-enabled/www.example.org</tt>, etc, now exist and will be read.</p>
<p>Once we&#8217;ve finished our setup we can restart, or reload, the webserver as the output above instructed us to do with:</p>
<pre>root@irony:~# /etc/init.d/apache2 reload
Reloading web server config...done.
root@irony:~#</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.sysadmindayph.com/blog/configure-virtual-hosting-in-apache-web-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

