<?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>The Scott Preston Blog &#187; Hosting</title>
	<atom:link href="http://www.scottpreston.com/articles/category/hosting/feed" rel="self" type="application/rss+xml" />
	<link>http://www.scottpreston.com</link>
	<description>Rambles about computing and other things in Columbus, Ohio.</description>
	<lastBuildDate>Fri, 17 May 2013 21:32:48 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5</generator>
		<item>
		<title>Deployments With RSYNC and Git</title>
		<link>http://www.scottpreston.com/articles/1372.php</link>
		<comments>http://www.scottpreston.com/articles/1372.php#comments</comments>
		<pubDate>Sun, 03 Jun 2012 13:37:21 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ramblings]]></category>

		<guid isPermaLink="false">http://www.scottpreston.com/?p=1372</guid>
		<description><![CDATA[Over the past few years I&#8217;ve been trying to get away from using FTP and deploying an entire directory to just update a web app. I&#8217;ve used services like Springloops and even tried a tool like Capistrano, but nothing really was 1) Simple and 2) Free until I wrote my own bash script. Here&#8217;s basically [...]]]></description>
				<content:encoded><![CDATA[<p>Over the past few years I&#8217;ve been trying to get away from using FTP and deploying an entire directory to just update a web app. I&#8217;ve used services like Springloops and even tried a tool like Capistrano, but nothing really was 1) Simple and 2) Free until I wrote my own bash script. Here&#8217;s basically what you do.</p>
<ol>
<li>Create SSH keys between your local machine and your remote box.</li>
<li>Create a bash script with the following code.</li>
</ol>
<pre class="brush: bash; gutter: true">#!/bin/bash
LOCAL=YOUR LOCAL DIRECTORY
REMOTE=user@remotesite.com:/home/useraccount/public_html
rsync -rtv --progress --exclude-from &#039;exclude-list.txt&#039;  $LOCAL $REMOTE
ssh user@remotesite.com &#039;chown -R user:nobody /home/useraccount/public_html&#039;
ssh user@remotesite.com &#039;chmod 750 /home/useraccount/public_html&#039;</pre>
<p>So set your LOCAL to your local directory path, REMOTE to your remote path with your user that you have your deployed files.</p>
<p>Note the rsync parameters, I&#8217;ve not chosen -a because that will also copy my local permissions, users and groups vs. the remote permissions users and groups.</p>
<p>Finally I&#8217;ve added an excludes list, which I&#8217;ll add things like &#8220;.git/&#8221; so that the git repository does not get sync&#8217;d and copied.</p>
<p>Now if you&#8217;re stuck into using FTP and just want to export what&#8217;s changed. I use this little script:</p>
<pre class="brush: bash; gutter: true">tar czf ~/Temp/new-files.tar.gz `git diff --name-only SHA1 SHA1 | grep -w &#039;.php&#039;`</pre>
<p>This allows me to create a tar.gz of just what&#8217;s changed between two commits and in the case above, just grab .php files. You can remove everything past | grep if you want everything.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scottpreston.com/articles/1372.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VPS Woes</title>
		<link>http://www.scottpreston.com/articles/1068.php</link>
		<comments>http://www.scottpreston.com/articles/1068.php#comments</comments>
		<pubDate>Mon, 07 Jun 2010 13:38:39 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Hosting]]></category>

		<guid isPermaLink="false">http://www.scottpreston.com/?p=1068</guid>
		<description><![CDATA[So for some time I had a reseller account at HostGator. The problem I had with this was eventually they put so many sites / re-seller accounts on the server that it (my site) was down often enough where I spent more time contacting support, than I did having to manage my domain. So I [...]]]></description>
				<content:encoded><![CDATA[<p>So for some time I had a reseller account at HostGator. The problem I had with this was eventually they put so many sites / re-seller accounts on the server that it (my site) was down often enough where I spent more time contacting support, than I did having to manage my domain. So I moved to a VPS.</p>
<p>Now I am on a VPS at PowerVPS. The problem now is that the root node is constantly getting overloaded and my site is once again VERY SLOW. I need to send them tickets about twice a week to have them fix the issue, so my VPS will come back to life and be responsive.</p>
<p>What to do? What are my options:</p>
<ul>
<li>Go back to reseller &#8211; No, still too slow and over subscription</li>
<li>Another VPS &#8211; Perhaps, but there still might be server and over-subscription issues.</li>
<li>Dedicated Server &#8211; Perhaps, but there will be more time setting up, I will need to get something with RAID and  and it will be much more expensive.</li>
<li>Hybrid &#8211; Interesting, The ideas is to keep a basic site for cpanel and management, then update the DNS for the WWW record to point to another server where I can ensure performance, ie a dedicated machine or a cloud server from Rackspace.</li>
</ul>
<p>I think I am going to try Hybrid for now, see how it goes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scottpreston.com/articles/1068.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hosting Update &#8211; PowerVPS</title>
		<link>http://www.scottpreston.com/articles/887.php</link>
		<comments>http://www.scottpreston.com/articles/887.php#comments</comments>
		<pubDate>Wed, 30 Dec 2009 03:06:51 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Hosting]]></category>

		<guid isPermaLink="false">http://www.scottpreston.com/articles/879.php</guid>
		<description><![CDATA[A few months back I moved everything from HostGator to PowerVPS. So far I am very happy with the results. It features great performance compared with other shared hosting solutions.]]></description>
				<content:encoded><![CDATA[<p>A few months back I moved everything from HostGator to <a href="http://www.powervps.com" target="_blank">PowerVPS</a>. So far I am very happy with the results. It features great performance compared with other shared hosting solutions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scottpreston.com/articles/887.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More Hosting News&#8230;</title>
		<link>http://www.scottpreston.com/articles/368.php</link>
		<comments>http://www.scottpreston.com/articles/368.php#comments</comments>
		<pubDate>Sat, 09 Dec 2006 17:03:50 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Hosting]]></category>

		<guid isPermaLink="false">http://www.scottpreston.com/articles/368.php</guid>
		<description><![CDATA[I have now moved everything to HostGator. Though they upgraded everything a few days after I joined up, so I had to move accounts again! Now I get 12GB of hosting space, a jailed SSH, PHP5, etc.]]></description>
				<content:encoded><![CDATA[<p><a href="http://secure.hostgator.com/cgi-bin/affiliates/clickthru.cgi?id=prestohost"><img alt="www.hostgator.com" hspace="10" src="/images/hostgator.jpg" align="left" border="0"/></a>I have now moved everything to <a href="http://secure.hostgator.com/cgi-bin/affiliates/clickthru.cgi?id=prestohost">HostGator</a>. Though they upgraded everything a few days after I joined up, so I had to move accounts again! Now I get 12GB of hosting space, a jailed SSH, PHP5, etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scottpreston.com/articles/368.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hosting Saga&#8230; Don&#039;t Use SuperbServers!</title>
		<link>http://www.scottpreston.com/articles/361.php</link>
		<comments>http://www.scottpreston.com/articles/361.php#comments</comments>
		<pubDate>Tue, 14 Nov 2006 17:19:57 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Hosting]]></category>

		<guid isPermaLink="false">http://www.scottpreston.com/articles/361.php</guid>
		<description><![CDATA[My first dedicated hosting experience was not cool. Here&#039;s some tips: Buy the cheapest option first to play around with it. I purchased what I thought I would need, raid1, 1gb ram, 160gb hard disk, 30gb FTP, Plesk (which I don&#039;t like), etc. Remember you can always upgrade if you find you are happy with [...]]]></description>
				<content:encoded><![CDATA[<p>My first dedicated hosting experience was not cool. Here&#039;s some tips:</p>
<ol>
<li>Buy the cheapest option first to play around with it. I purchased what I thought I would need, raid1, 1gb ram, 160gb hard disk, 30gb FTP, Plesk (which I don&#039;t like), etc. Remember you can always upgrade if you find you are happy with them&#8230; </li>
<li>Be Careful of Pre-Payment, when going in I thought I would be happy with the options, but low and behold I had to cancel, and to top it they slammed me with a 30day until cancel notice. So this means I had to shell out another 30 days of hosting I would never, ever use&#8230; Bogus!!! </li>
<li>Stick with what you know&#8230; I should have stayed with WHM/Cpanel over PLESK. </li>
<li>Don&#039;t recompile any software (configure/make/make install). The reason for me is PLESK, since it did not fully support PHP 5.1.6, when i did the recompile and install via Apache, PLESK started to&nbsp;blow chunks at some point in the future&#8230; Also, depending on who you go with they might install patches or updates that might not work with what you have modified&#8230; </li>
<li>Be prepared to spend some time learning things&#8230; Pick up a cheap PC someplace then install the SAME distro you will be leasing and use this as your development / test box. </li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.scottpreston.com/articles/361.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hosting Saga Continues&#8230;</title>
		<link>http://www.scottpreston.com/articles/359.php</link>
		<comments>http://www.scottpreston.com/articles/359.php#comments</comments>
		<pubDate>Mon, 13 Nov 2006 13:35:24 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Hosting]]></category>

		<guid isPermaLink="false">http://www.scottpreston.com/articles/359.php</guid>
		<description><![CDATA[I have canceled my dedicated server and am right now back with ResellerZoom because they offer PHP5 under reseller accounts, and have fail over hosting (RAID1). So for now I will stay with them but I am still having a funky email bug with their servers&#8230; Who knows I might be changing everything back in [...]]]></description>
				<content:encoded><![CDATA[<p>I have canceled my dedicated server and am right now back with ResellerZoom because they offer PHP5 under reseller accounts, and have fail over hosting (RAID1). So for now I will stay with them but I am still having a funky email bug with their servers&#8230; Who knows I might be changing everything back in a month or two&#8230;</p>
<p>Update (12pm) on my SAMBA issues, nothing&#8230; Update on my Plesk Firewall issues, nothing&#8230; My next server might just have to be Windows2003&#8230; Sigh&#8230;</p>
<p>Update (3pm) My reseller, continues to bounce my server, mail goes down, apache goes down&#8230; I can&#039;t access&#8230; So, I will most likely be changing again in a month. Man, why isn&#039;t there a good web host out there, they all seem to suck equally bad&#8230;</p>
<p>If anyone has a good host, please send me a <a href="/contact.php">note</a>!</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scottpreston.com/articles/359.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why can&#039;t I find a good host?</title>
		<link>http://www.scottpreston.com/articles/344.php</link>
		<comments>http://www.scottpreston.com/articles/344.php#comments</comments>
		<pubDate>Thu, 05 Oct 2006 12:18:18 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Hosting]]></category>

		<guid isPermaLink="false">http://www.scottpreston.com/articles/344.php</guid>
		<description><![CDATA[I have been trying to find a dedicated server now for about 2 weeks. They either have the right server or poor service. They have good service or the wrong server, or you need to pay out your butt for both, then you are still not confident in them and need to try it out [...]]]></description>
				<content:encoded><![CDATA[<p>I have been trying to find a dedicated server now for about 2 weeks. They either have the right server or poor service. They have good service or the wrong server, or you need to pay out your butt for both, then you are still not confident in them and need to try it out for a bit.</p>
<p>I actually have thought about getting a T1 line to the house and purchasing my own server, in the end it would be more work on my part, but at least I could count on the server, but would most likely have problems with the networking&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scottpreston.com/articles/344.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving Host &#8211; Hello Host Gator!</title>
		<link>http://www.scottpreston.com/articles/291.php</link>
		<comments>http://www.scottpreston.com/articles/291.php#comments</comments>
		<pubDate>Thu, 17 Feb 2005 14:09:43 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Hosting]]></category>

		<guid isPermaLink="false">http://www.scottpreston.com/articles/291.php</guid>
		<description><![CDATA[Well, I finally had enough of the site bouncing. Moving from ReadySetConnect to HostGator.Com. So far the performance ROCKS and the support is FAST! The best part is the unlimited domains for just $9.95/month. I will be telling readySetConnect they get the boot as soon as my other domains transfer.]]></description>
				<content:encoded><![CDATA[<p>Well, I finally had enough of the site bouncing. Moving from ReadySetConnect to <a href="https://secure.hostgator.com/cgi-bin/affiliates/clickthru.cgi?id=scottpreston">HostGator.Com</a>.<br />
So far the performance ROCKS and the support is FAST! The best part is the unlimited domains for just $9.95/month.</p>
<p>I will be telling readySetConnect they get the boot as soon as my other domains transfer.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scottpreston.com/articles/291.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving Again&#8230; To PHP</title>
		<link>http://www.scottpreston.com/articles/269.php</link>
		<comments>http://www.scottpreston.com/articles/269.php#comments</comments>
		<pubDate>Sat, 10 Apr 2004 11:06:54 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Hosting]]></category>

		<guid isPermaLink="false">http://www.scottpreston.com/articles/269.php</guid>
		<description><![CDATA[After all of the hosting experiences I have settled on ReadySetConnect.Com. Though I am not 100% satisfied its the best thing going. I am moving my site from Java/JSP to PHP. This is fun, exciting, and I am re-learning PERL which I have not done regularly since 1995. I also just put up Emms site. [...]]]></description>
				<content:encoded><![CDATA[<p>After all of the hosting experiences I have settled on <a href="http://www.readysetconnect.com" target="new">ReadySetConnect.Com</a>. Though I am not 100% satisfied its the best thing going.</p>
<p>I am moving my site from Java/JSP to PHP. This is fun, exciting, and I am re-learning PERL which I have not done regularly since 1995. I also just put up Emms site. <a href="http://www.emmp3.com" target="new">EmmP3.Com</a> she will start doing things with it soon. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.scottpreston.com/articles/269.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hosting, Hosting, Hosting</title>
		<link>http://www.scottpreston.com/articles/268.php</link>
		<comments>http://www.scottpreston.com/articles/268.php#comments</comments>
		<pubDate>Sat, 03 Apr 2004 21:18:58 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Hosting]]></category>

		<guid isPermaLink="false">http://www.scottpreston.com/articles/268.php</guid>
		<description><![CDATA[Well, I am giving up on JSP/Java Hosting. Too much instability. I am also moving to a site where my ping times are better. &#60;40ms vs ~100ms range. The site I found is ReadySetConnect.Com. Plus I am month-month with 50 domains for 11.99 a month. I must thank Sarah Lane from TechTV&#039;s The Screen Savers [...]]]></description>
				<content:encoded><![CDATA[<p>Well, I am giving up on JSP/Java Hosting. Too much instability. I am also moving to a site where my ping times are better. &lt;40ms vs ~100ms range. The site I found is <a href="http://readysetconnect">ReadySetConnect.Com</a>.</p>
<p>Plus I am month-month with 50 domains for 11.99 a month. I must thank <a href="http://www.sarahlane.com">Sarah Lane</a> from TechTV&#039;s The Screen Savers for this advice.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scottpreston.com/articles/268.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
