<?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>Maff Wilson&#039;s Webby Home &#187; servername</title>
	<atom:link href="http://maffwilson.co.uk/tag/servername/feed" rel="self" type="application/rss+xml" />
	<link>http://maffwilson.co.uk</link>
	<description>Projects, notes, play and contact details.</description>
	<lastBuildDate>Wed, 28 Jul 2010 17:25:03 +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>[Solved] Apache restart error: server&#8217;s fully qualified domain name</title>
		<link>http://maffwilson.co.uk/32-apache-restart-error</link>
		<comments>http://maffwilson.co.uk/32-apache-restart-error#comments</comments>
		<pubDate>Wed, 11 Nov 2009 17:03:52 +0000</pubDate>
		<dc:creator>Maff</dc:creator>
				<category><![CDATA[Notes]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[fully qualified domain name]]></category>
		<category><![CDATA[hostname]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[restart]]></category>
		<category><![CDATA[servername]]></category>

		<guid isPermaLink="false">http://maffwilson.co.uk/?p=32</guid>
		<description><![CDATA[It seems that Red Hat Fedora must have changed a few settings over recent upgrades because I had a few things stop working when I did a simple Apache conf change to point a website at some parking space.
After editing /etc/httpd/conf/httpd.conf
I tried to restart with /sbin/services &#8211; where has this gone?  In the end [...]]]></description>
			<content:encoded><![CDATA[<p>It seems that Red Hat Fedora must have changed a few settings over recent upgrades because I had a few things stop working when I did a simple Apache conf change to point a website at some parking space.</p>
<p>After editing /etc/httpd/conf/httpd.conf</p>
<p>I tried to restart with /sbin/services &#8211; where has this gone?  In the end I had to resort to the ancient looking </p>
<p><code>/etc/rc.d/init.d/httpd restart </code></p>
<p>Then I got the exciting Apache restart error</p>
<p><code>Starting httpd: httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName</code></p>
<p>Ehh?</p>
<p>Seems the solution is this:</p>
<p><code>echo HOST.DOMAIN.com > /etc/hostname</code></p>
<p>where HOST = Your host name, DOMAIN = Your Domain Name </p>
<p>Followed by:</p>
<p><code>/bin/hostname -F /etc/hostname</code></p>
<p>Restart now works. </p>
]]></content:encoded>
			<wfw:commentRss>http://maffwilson.co.uk/32-apache-restart-error/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
