<?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>BittBox &#187; Server</title>
	<atom:link href="http://www.bittbox.com/tag/server/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bittbox.com</link>
	<description>Free high quality design resources, tutorials and tips for graphic and web designers</description>
	<lastBuildDate>Tue, 07 Feb 2012 16:01:34 +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>Easily make sexy error messages in WordPress (and everything else)</title>
		<link>http://www.bittbox.com/general-web-design/easily-make-sexy-error-messages-in-wordpress-and-everything-else</link>
		<comments>http://www.bittbox.com/general-web-design/easily-make-sexy-error-messages-in-wordpress-and-everything-else#comments</comments>
		<pubDate>Wed, 13 Jul 2011 20:25:01 +0000</pubDate>
		<dc:creator>Jay Hilgert</dc:creator>
				<category><![CDATA[General Web Design]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[Custom]]></category>
		<category><![CDATA[Error messages]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.bittbox.com/?p=3514</guid>
		<description><![CDATA[Some hosts have custom error page options in their admin panel software, but if you want to bypass that and easily make your custom error messages work (as long as you&#8217;re running Apache) it&#8217;s pretty simple. Especially if your a blogger, and you&#8217;re familiar with .htaccess files, this is a very simple process and it works great. Let&#8217;s get started. Part 1 &#8211; General Step 1 Design your error page as a static HTML page. Step 2 You can upload the error pages to anywhere on you server, but I recommend putting them either in the root directory, or in a folder in the root.I put mine in a folder in the root called &#8220;errors.&#8221; Step 3 Add the following line of code to your .htaccess file in the root of your site. ErrorDocument 404 /errors/404.html And for the other error messages, simply uplad the other HTML files and add another line in your .htaccess file and change the error code to whatever you need, like: ErrorDocument 503 /errors/503.html in my example code, obviously, I&#8217;ve got a folder called &#8220;errors&#8221; in the root directory of my blog, and I named my error message html files as the same name as the error I want to display. Live Example The easiest error page to test, (as well as the most used) is 404, or &#8220;Not Found.&#8221; Simply type in your URL, then a forward slash and then a bunch of jibberish, like this: http://www.bittbox.com/fghjkdfghdfgkjh And that&#8217;s it. If you are having trouble seeing your error messages, you might check your file paths in your .htaccess file, as well as the file paths to images in your HTML and/or CSS, depending on how you have it setup. Part 2 &#8211; Custom 503 &#8220;Service Unavailable&#8221; Page using WordPress and the Maintenance Mode Plugin Step 1 Obviously, have the Maintenance Mode plugin installed and activated. Maintenance Mode lets you display a custom message while your site is down, whether your upgrading, or making a new theme, or simply doing maintenance of any kind. Nowadays, wordpress shows an error 503 (most likely your server default) &#8220;Service Unavailable&#8221; error when you do an automatic upgrade, so customizing this 503 error can make you rest a little easier when you need to upgrade your worpdress. (which wordpress users know, happens often.) Step 2 Copy your 503.html error you already made in Part 1, and put it in your wordpress theme directory. Then rename it to 503.php. Even though it&#8217;s most likely a simple html or xhtml file, the Maintenance Mode plugin needs a &#8220;php file extension, and it has to be in the same folder as all of your theme files. (don&#8217;t forget to move any images, and check image URLS during this process, as well as any image URLs in your CSS for your 503.) Step 3 In the WordPress Dashboard, go to Settings > Maintenance Mode and select the custom 503.php option under &#8220;Splash Page Theme.&#8221; Done In order to test the custom 503 that will display when you do upgrades (as long as maintenance mode is active before you upgrade) you can just activate it for a minute to see what it looks like, but you have to either log out, or use a different browser where you aren&#8217;t logged in to your site. Conclusion Custom error messages can be cool, and I recently learned a little about how to make them, so I thought I would spread the knowledge. It was way easier than I previously thought, and all you need is FTP. As I mentioned earlier, some customizations may be available from your host admin panel, but using the .htacess method, you can add as many as you want, and therefore have more control. Here&#8217;s a link to the most common Apache Error Codes&#187; Here&#8217;s a link to all Apache Error Codes &#187;]]></description>
			<content:encoded><![CDATA[<p>Some hosts have custom error page options in their admin panel software, but if you want to bypass that and easily make your custom error messages work (as long as you&#8217;re running Apache) it&#8217;s pretty simple. Especially if your a blogger, and you&#8217;re familiar with .htaccess files, this is a very simple process and it works great. Let&#8217;s get started.</p>
<p><a href="http://www.bittbox.com/fghjkdfghdfgkjh"><img src="http://www.bittbox.com/wp-content/uploads/2011/07/404_1.jpg" alt="Easily make sexy error messages in WordPress (and everything else)" title="Easily make sexy error messages in WordPress (and everything else)" /><br />
</a><br />
<span id="more-3514"></span></p>
<h2>Part 1 &#8211; General</h2>
<h3>Step 1</h3>
<p>Design your error page as a static HTML page.</p>
<h3>Step 2</h3>
<p>You can upload the error pages to anywhere on you server, but I recommend putting them either in the root directory, or in a folder in the root.I put mine in a folder in the root called &#8220;errors.&#8221;</p>
<h3>Step 3</h3>
<p>Add the following line of code to your .htaccess file in the root of your site.</p>
<p><code>ErrorDocument 404 /errors/404.html</code></p>
<p>And for the other error messages, simply uplad the other HTML files and add another line in your .htaccess file and change the error code to whatever you need, like:</p>
<p><code>ErrorDocument 503 /errors/503.html</code></p>
<p>in my example code, obviously, I&#8217;ve got a folder called &#8220;errors&#8221; in the root directory of my blog, and I named my error message html files as the same name as the error I want to display.</p>
<h3>Live Example</h3>
<p>The easiest error page to test, (as well as the most used) is 404, or &#8220;Not Found.&#8221; Simply type in your URL, then a forward slash and then a bunch of jibberish, like this:</p>
<p><a href="http://www.bittbox.com/fghjkdfghdfgkjh">http://www.bittbox.com/fghjkdfghdfgkjh</a></p>
<p>And that&#8217;s it. If you are having trouble seeing your error messages, you might check your file paths in your .htaccess file, as well as the file paths to images in your HTML and/or CSS, depending on how you have it setup.</p>
<h2>Part 2 &#8211; Custom 503 &#8220;Service Unavailable&#8221; Page using WordPress and the Maintenance Mode Plugin</h2>
<h3>Step 1</h3>
<p>Obviously, have the <a href="http://sw-guide.de/wordpress/plugins/maintenance-mode/" title="Maintenance Mode WordPress Plugin" target="_blank">Maintenance Mode</a> plugin installed and activated. Maintenance Mode lets you display a custom message while your site is down, whether your upgrading, or making a new theme, or simply doing maintenance of any kind. Nowadays, wordpress shows an error 503 (most likely your server default) &#8220;Service Unavailable&#8221; error when you do an automatic upgrade, so customizing this 503 error can make you rest a little easier when you need to upgrade your worpdress. (which wordpress users know, happens often.)</p>
<h3>Step 2</h3>
<p>Copy your 503.html error you already made in Part 1, and put it in your wordpress theme directory. Then rename it to 503.php. Even though it&#8217;s most likely a simple html or xhtml file, the Maintenance Mode plugin needs a &#8220;php file extension, and it has to be in the same folder as all of your theme files. (don&#8217;t forget to move any images, and check image URLS during this process, as well as any image URLs in your CSS for your 503.)</p>
<h3>Step 3</h3>
<p>In the WordPress Dashboard, go to Settings > Maintenance Mode and select the custom 503.php option under &#8220;Splash Page Theme.&#8221; </p>
<p><img src="http://www.bittbox.com/wp-content/uploads/2011/07/503_1.jpg" alt="Easily make sexy error messages in WordPress (and everything else)" title="Easily make sexy error messages in WordPress (and everything else)" /></p>
<h3>Done</h3>
<p>In order to test the custom 503 that will display when you do upgrades (as long as maintenance mode is active before you upgrade) you can just activate it for a minute to see what it looks like, but you have to either log out, or use a different browser where you aren&#8217;t logged in to your site.</p>
<h2>Conclusion</h2>
<p>Custom error messages can be cool, and I recently learned a little about how to make them, so I thought I would spread the knowledge. It was way easier than I previously thought, and all you need is FTP. As I mentioned earlier, some customizations may be available from your host admin panel, but using the .htacess method, you can add as many as you want, and therefore have more control.</p>
<p>Here&#8217;s a link to the <a href="http://www.bodhost.com/forum/tutorials-documentation/4380-most-common-http-error-codes-list-explained.html" target="_blank">most common Apache Error Codes&raquo;</a></p>
<p>Here&#8217;s a link to <a href="http://en.wikipedia.org/wiki/List_of_HTTP_status_codes" target="_blank">all Apache Error Codes &raquo;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bittbox.com/general-web-design/easily-make-sexy-error-messages-in-wordpress-and-everything-else/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>The Straw that Broke the Camel&#8217;s Back: New Host!</title>
		<link>http://www.bittbox.com/news/the-straw-that-broke-the-camels-back-new-host</link>
		<comments>http://www.bittbox.com/news/the-straw-that-broke-the-camels-back-new-host#comments</comments>
		<pubDate>Tue, 15 Apr 2008 18:42:25 +0000</pubDate>
		<dc:creator>Jay Hilgert</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Host]]></category>
		<category><![CDATA[Maintenance]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.bittbox.com/?p=380</guid>
		<description><![CDATA[If you&#8217;ve had trouble accessing BittBox in the past few days, I apologize. I&#8217;ve been with GoDaddy for over 5 years, and it&#8217;s had it&#8217;s ups and downs, but I just couldn&#8217;t take it anymore, so I got pissed and switched to (mt) Media Temple over-night. Here&#8217;s my story: A few days ago I submitted a trouble ticket when some software on my GoDaddy server locked up, and a few hours later, they replied stating that they had resolved the issue, and charged me $75. Great&#8230;&#8230;wait, what? My site doesn&#8217;t work anymore! I hadn&#8217;t changed a single setting on my server and the BittBox homepage wouldn&#8217;t load. So I called GoDaddy again, and another 6 hours go by, and they tell me that it&#8217;s my .htaccess file that&#8217;s causing the problem. So, in a nutshell, not only was my site down, but I PAID GoDaddy $75 to f*ck it up. Awesome, right? Anyway, that&#8217;s just one of many stories. I was sooo pissed, I didn&#8217;t even flinch. I immediately called MediaTemple and bought a new hosting account, and started uploading. After I was about 50% done uploading, I switched the DNS and this morning I canceled my GoDaddy account. I&#8217;m looking forward to this fresh start, and again, I apologize to those of you who were inconvenienced by GoDaddy&#8217;s incompetence. ~Bitt]]></description>
			<content:encoded><![CDATA[<h4>If you&#8217;ve had trouble accessing BittBox in the past few days, I apologize. I&#8217;ve been with GoDaddy for over 5 years, and it&#8217;s had it&#8217;s ups and downs, but I just couldn&#8217;t take it anymore, so I got pissed and switched to <a href="http://www.mediatemple.net/go/order/?refdom=BITTBOX.COM">(mt) Media Temple</a> over-night. Here&#8217;s my story:</h4>
<p><img class="imgfloatleft" src="/wp-content/uploads/2008/04/new_host.jpg" alt="The Straw that Broke the Camel's Back: New Host!" title="The Straw that Broke the Camel's Back: New Host!" /> A few days ago I submitted a trouble ticket when some software on my GoDaddy server locked up, and a few hours later, they replied stating that they had resolved the issue, and charged me $75. Great&#8230;&#8230;wait, what? My site doesn&#8217;t work anymore! </p>
<p>I hadn&#8217;t changed a single setting on my server and the BittBox homepage wouldn&#8217;t load. So I called GoDaddy again, and another 6 hours go by, and they tell me that it&#8217;s my .htaccess file that&#8217;s causing the problem. So, in a nutshell, not only was my site down, but I PAID GoDaddy $75 to f*ck it up. Awesome, right?</p>
<p><span id="more-380"></span></p>
<p>Anyway, that&#8217;s just one of many stories. I was sooo pissed, I didn&#8217;t even flinch. I immediately called MediaTemple and bought a new hosting account, and started uploading. After I was about 50% done uploading, I switched the DNS and this morning I canceled my GoDaddy account. I&#8217;m looking forward to this fresh start, and again, I apologize to those of you who were inconvenienced by GoDaddy&#8217;s incompetence. </p>
<p>~Bitt</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bittbox.com/news/the-straw-that-broke-the-camels-back-new-host/feed</wfw:commentRss>
		<slash:comments>55</slash:comments>
		</item>
		<item>
		<title>Server Maintenance</title>
		<link>http://www.bittbox.com/news/server-maintenance</link>
		<comments>http://www.bittbox.com/news/server-maintenance#comments</comments>
		<pubDate>Tue, 22 Jan 2008 20:15:02 +0000</pubDate>
		<dc:creator>Jay Hilgert</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Host]]></category>
		<category><![CDATA[Maintenance]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.bittbox.com/news/server-maintenance/</guid>
		<description><![CDATA[Apparently my server&#8217;s hard drive is failing, so it&#8217;s going to have to be replaced : ( It might take up to 24 hrs, so the Box might be down for the next day or so. When I return from this dilemma, I&#8217;ve got an awesome set of vectors for everyone. See you in a day or so.]]></description>
			<content:encoded><![CDATA[<h4>Apparently my server&#8217;s hard drive is failing, so it&#8217;s going to have to be replaced : ( It might take up to 24 hrs, so the Box might be down for the next day or so. When I return from this dilemma, I&#8217;ve got an awesome set of vectors for everyone. See you in a day or so.<br />
<h4>
]]></content:encoded>
			<wfw:commentRss>http://www.bittbox.com/news/server-maintenance/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>New Server</title>
		<link>http://www.bittbox.com/news/new-server-2</link>
		<comments>http://www.bittbox.com/news/new-server-2#comments</comments>
		<pubDate>Thu, 17 Jan 2008 05:19:52 +0000</pubDate>
		<dc:creator>Jay Hilgert</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Host]]></category>
		<category><![CDATA[Maintenance]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.bittbox.com/news/new-server-2/</guid>
		<description><![CDATA[If any of you have noticed anything weird lately around the Box, or are having trouble loading the RSS feeds, please give it a day or two. I just migrated BittBox to a brand new dedicated server, and it can take up to 3 days before the transition is totally done. Sorry for the inconvenience. ~Bitt]]></description>
			<content:encoded><![CDATA[<h4>If any of you have noticed anything weird lately around the Box, or are having trouble loading the RSS feeds, please give it a day or two. I just migrated BittBox to a brand new dedicated server, and it can take up to 3 days before the transition is totally done. Sorry for the inconvenience. </h4>
<h4>~Bitt</h4>
]]></content:encoded>
			<wfw:commentRss>http://www.bittbox.com/news/new-server-2/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Maintenence Tonight</title>
		<link>http://www.bittbox.com/news/maintenence-tonight</link>
		<comments>http://www.bittbox.com/news/maintenence-tonight#comments</comments>
		<pubDate>Tue, 13 Nov 2007 14:14:32 +0000</pubDate>
		<dc:creator>Jay Hilgert</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Maintenance]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.bittbox.com/news/maintenence-tonight/</guid>
		<description><![CDATA[In case you have noticed anything wierd around the box lately, it appears my site has been compromised, so tonight I will be wiping my server and starting from scratch. If anyone has any security tips for wordpress and how to help prevent a future attack, I&#8217;m all ears. The only clue I have is that one user saw a white screen with the phrase &#8220;Already Hacked by Magic SEO Toolz.&#8221; There have also been spammy links inserted in my RSS. Sorry for the inconvenience, and I&#8217;ll have everything back to normal as soon as I can. This couldn&#8217;t have happened on a worse week. (The week I have to pack all my shit and move to another state). If anyone has any info or would like to help (I&#8217;m not a WordPress Guru) you can email me at contact(at)bittbox.com. ~Bitt]]></description>
			<content:encoded><![CDATA[<h4>In case you have noticed anything wierd around the box lately, it appears my site has been compromised, so tonight I will be wiping my server and starting from scratch. If anyone has any security tips for wordpress and how to help prevent a future attack, I&#8217;m all ears. The only clue I have is that one user saw a white screen with the phrase &#8220;Already Hacked by Magic SEO Toolz.&#8221; There have also been spammy links inserted in my RSS. Sorry for the inconvenience, and I&#8217;ll have everything back to normal as soon as I can. This couldn&#8217;t have happened on a worse week. (The week I have to pack all my shit and move to another state).</h4>
<h4>If anyone has any info or would like to help (I&#8217;m not a WordPress Guru) you can email me at contact(at)bittbox.com.</p>
<h4>~Bitt</h4>
]]></content:encoded>
			<wfw:commentRss>http://www.bittbox.com/news/maintenence-tonight/feed</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
	</channel>
</rss>

