<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0"
 xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>

<channel>
<title>Parallels knowledgebase (KB)</title>
<link>http://kb.parallels.com/</link>
<description>Parallels knowledgebase (KB)</description>
<language>en</language>
<copyright>Copyright 2008 Parallels</copyright>
<pubDate>Wed, 10 Sep 2008 00:00:00 +0600</pubDate>
<lastBuildDate>Wed, 10 Sep 2008 00:00:00 +0600</lastBuildDate>
<webMaster>rt-team@parallels.com</webMaster>

<item>
<title><![CDATA[I don't want to have any default domain on the IP? How do I do that?]]></title>
<link>http://kb.parallels.com/en/1202</link>
<description><![CDATA[<div id="article">
	




	<div id="kb" class="kb">
		<div class="article-container">
			<h2 class="title">I don't want to have any default domain on the IP? How do I do that?</h2>
			<div class="ab-frame"><div class="bl"><div class="br"><div class="tl"><div class="tr"><!-- frame -->
				<div class="articleProperty">
					<div>Article ID: 1202&nbsp;</div>
					<div>Last Review: Oct,6 2008</div>
					<tr>
						<td>Author: </td>
						<td>Vitaly Malakhov</td>
					</tr>
					<br/>
					<tr>
						<td>Last updated by: </td>
						<td>system</td>
					</tr>
					<strong>APPLIES TO:</strong>
					<div class="articleApplies">
						<ul>
							<li>Parallels Plesk Panel for Linux/Unix</li>
							<li>Parallels Business Automation - Enterprise</li>
						</ul>
					</div>
				</div><!-- articleProperty -->
			</div></div></div></div></div><!-- frame -->

			<div class="article-internal-flag"></div>

			<div id="article-content">
				<div class="article-part">
					<h2>Resolution</h2>
					
If you already set some domain to be default for the specific IP address, this action can't be reverted and your cannot unset it in Plesk panel interface, you can only switch to other domain be default.<br /><br />The solution is to manually set default_domain_id to zero for specific IP address directly in Plesk database, for example:<br /><br style="background-color: rgb(204, 255, 255);" /><span style="font-family: courier new,courier,monospace; background-color: rgb(255, 255, 255);"># mysql -uadmin -p`cat </span><i class="moz-txt-slash" style="font-family: courier new,courier,monospace; background-color: rgb(255, 255, 255);"><span class="moz-txt-tag">/</span>etc/psa<span class="moz-txt-tag">/</span></i><span style="font-family: courier new,courier,monospace; background-color: rgb(255, 255, 255);">.psa.shadow` -Dpsa
-e &quot;UPDATE IP_Addresses SET default_domain_id = 0 WHERE ip_address = 'IP.ADD.RE.SS';&quot;</span><br /><br />The following command will remove default domain setting for all IP addresses:<span style="font-family: courier new,courier,monospace;"><br /><br /># mysql -uadmin -p`cat </span><i class="moz-txt-slash" style="font-family: courier new,courier,monospace;"><span class="moz-txt-tag">/</span>etc/psa<span class="moz-txt-tag">/</span></i><span style="font-family: courier new,courier,monospace;">.psa.shadow` -Dpsa
-e &quot;UPDATE IP_Addresses SET default_domain_id = 0;&quot;<br /><br /></span>Then you need to run `websrvmng` utility to apply changes:<br /><br /><span style="font-family: courier new,courier,monospace;"># /usr/local/psa/admin/sbin/websrvmng -a -v
</span><br />


				</div>
			</div>
		</div><!-- article-container -->


			<br/><br/>

			<div id="SubscriptionLink24Article" class="subscriptionLink2">
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=1202&ArticleLanguage=en&Product=&Category="><img src="http://kb.parallels.com/images/mail.png" width="15" height="15" alt="Subscription for changes to this article"></a>
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=1202&ArticleLanguage=en&Product=&Category=">Subscription for changes to this article</a>

<script type="text/javascript">

$(document).ready(function() {
	$('#SubscriptionLink24Article a').each(function(){
		$(this).click(function(event) {
			event.preventDefault();
			MainPageContentHide();
			$('#subscription').html('');
			$.get('/Stuff/Subscription', {
													'Type' : 'Article',
													'ArticleID' : '1202',
													'ArticleLanguage' : 'en',
													'Product' : '',
													'Category' : ''
												}, function(data) {
																	$('#subscription').html(data);
																	$('#subscription').show();
																	SUBbuildsubmenus_product();
																});
		});
	});
});

</script>

</div>





	</div><!-- kb -->

</div><!-- article -->


]]></description>
<author>Vitaly Malakhov</author>
<guid isPermaLink="false">845 LastUpdated: 2008-10-06 09:11:09</guid>
<pubDate>2008-10-06 09:11:09</pubDate>
</item>
</channel>
</rss>



