<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Using Plesk and vhost.conf</title>
	<atom:link href="http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/</link>
	<description>Help - v. helped, helpÂ·ing, helps</description>
	<lastBuildDate>Mon, 02 Jan 2012 23:40:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Separate PHP Error Logs for Multiple Domains with Plesk &#124; David Seah</title>
		<link>http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/comment-page-1/#comment-67308</link>
		<dc:creator>Separate PHP Error Logs for Multiple Domains with Plesk &#124; David Seah</dc:creator>
		<pubDate>Wed, 14 Sep 2011 17:48:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/#comment-67308</guid>
		<description>[...] to modify the Plesk vhost.conf file so everything plays nice.    Posted in Computers and tagged Servers. Bookmark the permalink.      [...]</description>
		<content:encoded><![CDATA[<p>[...] to modify the Plesk vhost.conf file so everything plays nice.    Posted in Computers and tagged Servers. Bookmark the permalink.      [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/comment-page-1/#comment-66570</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 30 Aug 2011 04:25:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/#comment-66570</guid>
		<description>I know this an old topic but I think this will help a few people like my self who struggled to figure out how to add more domains/aliases to point to the same website. I found my self looking everywhere for a solution but couldn&#039;t find anything solid and had to get bits and pieces of info to finally figure it out. So here it is step by step for you:

How to point additional domains to the same website on CentOS 5.x with Plesk 10?

1) Create a vhost.conf in your faivorit editor and add the following to it:

ServerAlias yourdomain.com
ServerAlias www.yourdomain.com

No need to put ... here. Just put each domain as you see it above on separate lines.

2) Save the vhost.conf file and upload it to the server at the following folder:

/var/www/vhosts/yourdomain.com/conf/

3) Once the vhost.conf is uploaded to the folder in step 2 you will need to run the following command line with putty or ssh to publish the new aliases to Apache:

/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain yourdomain.com

The old/obsolete way of doing this would be to use the following command line:

/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=yourdomain.com

4) If you followed my instructions above as I listed here you should not see any errors at all. If you are using Plesk 10 and you use the old/obsolete commands you will get the following warning message:

WARNING: You are using obsolete option, use corresponding option of httpdmng.

But this should still work for you and you can disregard this message.  

5) Now test your new domains and they should all be pointing to the correct website.

I hope this helps anyone looking to setup multiple domains to point to the same website.

Mike</description>
		<content:encoded><![CDATA[<p>I know this an old topic but I think this will help a few people like my self who struggled to figure out how to add more domains/aliases to point to the same website. I found my self looking everywhere for a solution but couldn&#8217;t find anything solid and had to get bits and pieces of info to finally figure it out. So here it is step by step for you:</p>
<p>How to point additional domains to the same website on CentOS 5.x with Plesk 10?</p>
<p>1) Create a vhost.conf in your faivorit editor and add the following to it:</p>
<p>ServerAlias yourdomain.com<br />
ServerAlias <a href="http://www.yourdomain.com" rel="nofollow">http://www.yourdomain.com</a></p>
<p>No need to put &#8230; here. Just put each domain as you see it above on separate lines.</p>
<p>2) Save the vhost.conf file and upload it to the server at the following folder:</p>
<p>/var/www/vhosts/yourdomain.com/conf/</p>
<p>3) Once the vhost.conf is uploaded to the folder in step 2 you will need to run the following command line with putty or ssh to publish the new aliases to Apache:</p>
<p>/usr/local/psa/admin/sbin/httpdmng &#8211;reconfigure-domain yourdomain.com</p>
<p>The old/obsolete way of doing this would be to use the following command line:</p>
<p>/usr/local/psa/admin/sbin/websrvmng -u &#8211;vhost-name=yourdomain.com</p>
<p>4) If you followed my instructions above as I listed here you should not see any errors at all. If you are using Plesk 10 and you use the old/obsolete commands you will get the following warning message:</p>
<p>WARNING: You are using obsolete option, use corresponding option of httpdmng.</p>
<p>But this should still work for you and you can disregard this message.  </p>
<p>5) Now test your new domains and they should all be pointing to the correct website.</p>
<p>I hope this helps anyone looking to setup multiple domains to point to the same website.</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron</title>
		<link>http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/comment-page-1/#comment-59567</link>
		<dc:creator>Ron</dc:creator>
		<pubDate>Mon, 23 May 2011 14:19:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/#comment-59567</guid>
		<description>I know this is an old topic but still valid. I tried creating subdomains to use a shared cert. Example mycart.com (port 80) = mycart.securecheckout.com (port 443). Using the vhost.conf would not work for this. What I had to do was remove the subdomain and add the virtual domain to the httpd.conf this looks similar to what Carlos had above but 443 instead. Point the Document Root to the path of the site you want to use the shared ssl cert on.</description>
		<content:encoded><![CDATA[<p>I know this is an old topic but still valid. I tried creating subdomains to use a shared cert. Example mycart.com (port 80) = mycart.securecheckout.com (port 443). Using the vhost.conf would not work for this. What I had to do was remove the subdomain and add the virtual domain to the httpd.conf this looks similar to what Carlos had above but 443 instead. Point the Document Root to the path of the site you want to use the shared ssl cert on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geeko</title>
		<link>http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/comment-page-1/#comment-49264</link>
		<dc:creator>Geeko</dc:creator>
		<pubDate>Wed, 26 Jan 2011 10:25:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/#comment-49264</guid>
		<description>Thank you much !!
This configuration helped me a lot!</description>
		<content:encoded><![CDATA[<p>Thank you much !!<br />
This configuration helped me a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/comment-page-1/#comment-44488</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Wed, 08 Dec 2010 04:07:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/#comment-44488</guid>
		<description>Thanks! Saved me 30 mins of troubleshooting :)</description>
		<content:encoded><![CDATA[<p>Thanks! Saved me 30 mins of troubleshooting :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vinayak</title>
		<link>http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/comment-page-1/#comment-39643</link>
		<dc:creator>vinayak</dc:creator>
		<pubDate>Thu, 30 Sep 2010 23:13:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/#comment-39643</guid>
		<description>Hi!I am having windows hosting in plesk environment.I am trying to redirect my blog from non www to www. few days back I have tried one script in index.php and it was managing it nicely but recently due to plugins my site had lots of problems and now this redirect stopped working.somefiles are over written and hence cannot redirect the non www to www.
kindly help me in this regard.

thanks in advance</description>
		<content:encoded><![CDATA[<p>Hi!I am having windows hosting in plesk environment.I am trying to redirect my blog from non www to www. few days back I have tried one script in index.php and it was managing it nicely but recently due to plugins my site had lots of problems and now this redirect stopped working.somefiles are over written and hence cannot redirect the non www to www.<br />
kindly help me in this regard.</p>
<p>thanks in advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ihsan Faisal</title>
		<link>http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/comment-page-1/#comment-37039</link>
		<dc:creator>Ihsan Faisal</dc:creator>
		<pubDate>Sun, 15 Aug 2010 13:24:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/#comment-37039</guid>
		<description>Thanks, you helped me understand plesk better..</description>
		<content:encoded><![CDATA[<p>Thanks, you helped me understand plesk better..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: reinforced concrete</title>
		<link>http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/comment-page-1/#comment-33878</link>
		<dc:creator>reinforced concrete</dc:creator>
		<pubDate>Sun, 06 Jun 2010 07:41:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/#comment-33878</guid>
		<description>Agrh.... again plesk - always in trouble ! :)</description>
		<content:encoded><![CDATA[<p>Agrh&#8230;. again plesk &#8211; always in trouble ! :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amy</title>
		<link>http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/comment-page-1/#comment-32641</link>
		<dc:creator>Amy</dc:creator>
		<pubDate>Mon, 19 Apr 2010 16:49:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/#comment-32641</guid>
		<description>I know this is a really old topic, but I&#039;m having a problem when adding a  section in the vhost.conf. Everything is working, but when I add this content (which is the only content I&#039;m adding to that file), I get this error:

 cannot occur within  section

It makes no sense and I can&#039;t restart my Apache service. However, if I take both  and  tags out of the file, everything is fine and dandy, except that my main domain snubee.com doesn&#039;t work. The subdomains however do work! 

Any ideas?</description>
		<content:encoded><![CDATA[<p>I know this is a really old topic, but I&#8217;m having a problem when adding a  section in the vhost.conf. Everything is working, but when I add this content (which is the only content I&#8217;m adding to that file), I get this error:</p>
<p> cannot occur within  section</p>
<p>It makes no sense and I can&#8217;t restart my Apache service. However, if I take both  and  tags out of the file, everything is fine and dandy, except that my main domain snubee.com doesn&#8217;t work. The subdomains however do work! </p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ricardo Martinez</title>
		<link>http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/comment-page-1/#comment-29185</link>
		<dc:creator>Ricardo Martinez</dc:creator>
		<pubDate>Sat, 21 Nov 2009 03:41:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/#comment-29185</guid>
		<description>Hi.

I&#039;m trying to use vhost to have all my .htacces rules there.  the Include in the httpd.include file on my conf directory is there and nothing happends.

this is the vhost file i&#039;m using to test.


php_admin_value open_basedir &quot;/var/www/vhosts/contenido.lapulga.com.do/httpdocs&quot;
#php_admin_value display_errors = on


Options +FollowSymLinks
RewriteEngine on
RewriteRule ^celulares.html$ index.php?op=cat&amp;cid=4

all the time i get 404 not found when i try to access mydomain.com/celulares.html

any help?

the server is using red hat with plesk 8.6

thanks</description>
		<content:encoded><![CDATA[<p>Hi.</p>
<p>I&#8217;m trying to use vhost to have all my .htacces rules there.  the Include in the httpd.include file on my conf directory is there and nothing happends.</p>
<p>this is the vhost file i&#8217;m using to test.</p>
<p>php_admin_value open_basedir &#8220;/var/www/vhosts/contenido.lapulga.com.do/httpdocs&#8221;<br />
#php_admin_value display_errors = on</p>
<p>Options +FollowSymLinks<br />
RewriteEngine on<br />
RewriteRule ^celulares.html$ index.php?op=cat&amp;cid=4</p>
<p>all the time i get 404 not found when i try to access mydomain.com/celulares.html</p>
<p>any help?</p>
<p>the server is using red hat with plesk 8.6</p>
<p>thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- This Quick Cache file was built for (  www.gadberry.com/aaron/2006/02/09/plesk_vhost/feed/ ) in 0.68432 seconds, on Feb 5th, 2012 at 9:49 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 5th, 2012 at 10:49 pm UTC -->
