<?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>InstaCarma Blog &#187; redirect</title>
	<atom:link href="http://www.instacarma.com/blog/tag/redirect/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.instacarma.com/blog</link>
	<description>Information Resource for Web Hosting Technical Support and Server Management</description>
	<lastBuildDate>Tue, 24 May 2011 10:01:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>Changing /cpanel to something else</title>
		<link>http://www.instacarma.com/blog/technical/changing-cpanel-to-something-else/</link>
		<comments>http://www.instacarma.com/blog/technical/changing-cpanel-to-something-else/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 20:51:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=1125</guid>
		<description><![CDATA[Filed under: apache, cPanel, port, redirect, security, WHM Issue : How can you access cPanel like, say, http://domainname.com/xyz ? This is for security purposes. Solution : This can be done but not recommended as it would not be of much effect security-wise. Even if you change it, cPanel/WHM would still run on the standard ports [...]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/apache/'>apache</a>, <a href='http://www.instacarma.com/blog/tag/cpanel/'>cPanel</a>, <a href='http://www.instacarma.com/blog/tag/port/'>port</a>, <a href='http://www.instacarma.com/blog/tag/redirect/'>redirect</a>, <a href='http://www.instacarma.com/blog/tag/security/'>security</a>, <a href='http://www.instacarma.com/blog/tag/whm/'>WHM</a></p>
<p><strong>Issue : </strong></p>
<p>How can you access cPanel like, say, http://domainname.com/xyz ? This is for security purposes.</p>
<p><strong>Solution : </strong></p>
<p>This can be done but not recommended as it would not be of much effect security-wise.<br />
Even if you change it, cPanel/WHM would still run on the standard ports (2082/2083 &#038; 2086/2087) which is known to everyone. If you have a valid cPanel license then you can contact their support and get the ports changed. This coupled with a strong password (change regularly) should be good enough.</p>
<p>However, coming back to the original question, you can achieve it in the following way : </p>
<p>Go to <em>/usr/local/apache/conf/httpd.conf</em><br />
Find the following line : </p>
<blockquote><p>ScriptAliasMatch ^/?cpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi</p></blockquote>
<p>Comment it out by adding a &#8216;#&#8217; at the beginning and add the following line below that line : </p>
<blockquote><p>ScriptAliasMatch ^/?xyz/?$ /usr/local/cpanel/cgi-sys/redirect.cgi</p></blockquote>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/changing-cpanel-to-something-else/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/changing-cpanel-to-something-else/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>htaccess redirect for SSL non-www to www</title>
		<link>http://www.instacarma.com/blog/technical/htaccess-redirect-for-non-www-to-www/</link>
		<comments>http://www.instacarma.com/blog/technical/htaccess-redirect-for-non-www-to-www/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 19:46:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[SSL]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=1115</guid>
		<description><![CDATA[Filed under: apache, htaccess, redirect, SSL Issue : Need to redirect https://domain.com to https://www.domain.com for SSL purposes. Solution : Use the following code in the htaccess file under the public_html folder for the concerned domain : RewriteEngine On RewriteCond %{HTTP_HOST} ^domain.com [NC] RewriteRule ^(.*)$ https://www.domain.com/$1 [L,R=301]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/apache/'>apache</a>, <a href='http://www.instacarma.com/blog/tag/htaccess/'>htaccess</a>, <a href='http://www.instacarma.com/blog/tag/redirect/'>redirect</a>, <a href='http://www.instacarma.com/blog/tag/ssl/'>SSL</a></p>
<p><strong>Issue : </strong></p>
<p>Need to redirect https://domain.com to https://www.domain.com for SSL purposes. </p>
<p><strong>Solution : </strong></p>
<p>Use the following code in the <em>htaccess</em> file under the <em>public_html</em> folder for the concerned domain : </p>
<blockquote><p>RewriteEngine On<br />
RewriteCond %{HTTP_HOST} ^domain.com [NC]<br />
RewriteRule ^(.*)$ https://www.domain.com/$1 [L,R=301]</p></blockquote>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/htaccess-redirect-for-non-www-to-www/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/htaccess-redirect-for-non-www-to-www/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pointing parked domain to a sub-directory</title>
		<link>http://www.instacarma.com/blog/technical/pointing-parked-domain-to-a-sub-directory/</link>
		<comments>http://www.instacarma.com/blog/technical/pointing-parked-domain-to-a-sub-directory/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 00:01:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[addon]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[parked]]></category>
		<category><![CDATA[redirect]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=873</guid>
		<description><![CDATA[Filed under: addon, htaccess, parked, redirect Issue : How to point a parked domain to a sub-directory of the main domain without any change in the URL ? Fix : This is like making the parked domain function like an add-on domain. Assuming that the parked domain name is abc.com and the corresponding folder under [...]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/addon/'>addon</a>, <a href='http://www.instacarma.com/blog/tag/htaccess/'>htaccess</a>, <a href='http://www.instacarma.com/blog/tag/parked/'>parked</a>, <a href='http://www.instacarma.com/blog/tag/redirect/'>redirect</a></p>
<p><strong>Issue :</strong> </p>
<p>How to point a parked domain to a sub-directory of the main domain without any change in the URL ?<br />
<strong><br />
Fix : </strong></p>
<p>This is like making the parked domain function like an add-on domain.<br />
Assuming that the parked domain name is <em>abc.com</em> and the corresponding folder under the main domain is &#8216;abc&#8217; .This can be achieved by putting the following in the <em>.htaccess</em> file for the main domain :</p>
<blockquote><p>RewriteEngine On<br />
Options +FollowSymlinks<br />
RewriteBase /<br />
RewriteCond %{HTTP_HOST} abc.com<br />
RewriteCond %{REQUEST_URI} !abc/<br />
RewriteRule ^(.*)$ abc/$1 [L]</p></blockquote>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/pointing-parked-domain-to-a-sub-directory/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/pointing-parked-domain-to-a-sub-directory/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Redirecting every page on the website to index.html</title>
		<link>http://www.instacarma.com/blog/technical/redirecting-every-page-on-website-to-index-html/</link>
		<comments>http://www.instacarma.com/blog/technical/redirecting-every-page-on-website-to-index-html/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 18:02:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[redirect]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=823</guid>
		<description><![CDATA[Filed under: apache, redirect Issue : While some construction is going on the site, all pages on the website should go to the index page. Solution : This can be easily achieved by using the following code in your .htaccess file : < IfModule mod_rewrite.c > RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} [...]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/apache/'>apache</a>, <a href='http://www.instacarma.com/blog/tag/redirect/'>redirect</a></p>
<p><strong>Issue : </strong></p>
<p>While some construction is going on the site, all pages on the website should go to the index page.</p>
<p><strong>Solution : </strong></p>
<p>This can be easily achieved by using the following code in your .htaccess file :</p>
<blockquote><p>
< IfModule mod_rewrite.c ><br />
RewriteEngine On<br />
RewriteBase /<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule . /index.html [L]<br />
< /IfModule ></p></blockquote>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/redirecting-every-page-on-website-to-index-html/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/redirecting-every-page-on-website-to-index-html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>htaccess code for redirecting www to non-www</title>
		<link>http://www.instacarma.com/blog/technical/htaccess-code-for-redirecting-www-to-non-www/</link>
		<comments>http://www.instacarma.com/blog/technical/htaccess-code-for-redirecting-www-to-non-www/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 16:54:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[redirect]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=797</guid>
		<description><![CDATA[Filed under: apache, redirect Issue : Regardless of somebody accessing the site with or without the &#8216;www&#8217; , it should always go to http://domain.com Solution : Use the following htaccess code : RewriteEngine on RewriteCond %{HTTP_HOST} ^www.domain.com RewriteRule ^(.*) http://domain.com/$1 [R]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/apache/'>apache</a>, <a href='http://www.instacarma.com/blog/tag/redirect/'>redirect</a></p>
<p><strong>Issue : </strong></p>
<p>Regardless of somebody accessing the site with or without the &#8216;www&#8217; , it should always go to http://domain.com</p>
<p><strong>Solution : </strong></p>
<p>Use the following htaccess code : </p>
<blockquote><p>RewriteEngine on<br />
RewriteCond %{HTTP_HOST} ^www.domain.com<br />
RewriteRule ^(.*) http://domain.com/$1 [R]
</p></blockquote>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/htaccess-code-for-redirecting-www-to-non-www/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/htaccess-code-for-redirecting-www-to-non-www/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>htaccess code for forwarding a domain</title>
		<link>http://www.instacarma.com/blog/technical/htaccess-code-for-forwarding-a-domain/</link>
		<comments>http://www.instacarma.com/blog/technical/htaccess-code-for-forwarding-a-domain/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 16:50:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[redirect]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=795</guid>
		<description><![CDATA[Filed under: apache, redirect Issue : The old domain ( with and without &#8216;www&#8217; ) needs to be forwarded to a sub-folder of the new domain. Solution : Use the following htaccess code : RewriteEngine on RewriteCond %{HTTP_HOST} ^olddomain\.com$ [OR] RewriteCond %{HTTP_HOST} ^www\.olddomain\.com$ RewriteRule ^(.*)$ http://newdomain.com/folder/$1 [R=permanent,R]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/apache/'>apache</a>, <a href='http://www.instacarma.com/blog/tag/redirect/'>redirect</a></p>
<p><strong>Issue : </strong></p>
<p>The old domain ( with and without &#8216;www&#8217; ) needs to be forwarded to a sub-folder of the new domain.</p>
<p><strong>Solution : </strong></p>
<p>Use the following htaccess code : </p>
<blockquote><p>RewriteEngine on<br />
RewriteCond %{HTTP_HOST} ^olddomain\.com$ [OR]<br />
RewriteCond %{HTTP_HOST} ^www\.olddomain\.com$<br />
RewriteRule ^(.*)$ http://newdomain.com/folder/$1 [R=permanent,R]</p></blockquote>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/htaccess-code-for-forwarding-a-domain/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/htaccess-code-for-forwarding-a-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Redirecting to secure connection</title>
		<link>http://www.instacarma.com/blog/technical/redirecting-to-secure-connection/</link>
		<comments>http://www.instacarma.com/blog/technical/redirecting-to-secure-connection/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 19:50:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[SSL]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=616</guid>
		<description><![CDATA[Filed under: apache, redirect, SSL Issue : When someone tries to access the site through the insecure URL (http) , it should redirect ( to https ) automatically. Fix : This can be easily achieved by putting the following code in the .htaccess file under &#8216;public_html&#8217; folder : RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^(.*)$ [...]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/apache/'>apache</a>, <a href='http://www.instacarma.com/blog/tag/redirect/'>redirect</a>, <a href='http://www.instacarma.com/blog/tag/ssl/'>SSL</a></p>
<p><strong>Issue : </strong></p>
<p>When someone tries to access the site through the insecure URL (http) , it should redirect ( to https ) automatically.</p>
<p><strong>Fix : </strong></p>
<p>This can be easily achieved by putting the following code in the .htaccess file under &#8216;public_html&#8217; folder : </p>
<blockquote><p>RewriteEngine On<br />
RewriteCond %{SERVER_PORT} !^443$<br />
RewriteRule ^(.*)$ https://www.yourdomainname.tld/$1 [L,R]</p></blockquote>
<p>(Assuming that you have SSL installed on the domain <img src='http://www.instacarma.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  )</p>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/redirecting-to-secure-connection/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/redirecting-to-secure-connection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to redirect webmail.domain.tld to domain.tld/webmail</title>
		<link>http://www.instacarma.com/blog/technical/how-to-redirect-webmail-domain-tld-to-domain-tldwebmail/</link>
		<comments>http://www.instacarma.com/blog/technical/how-to-redirect-webmail-domain-tld-to-domain-tldwebmail/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 18:38:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[sub-domain]]></category>
		<category><![CDATA[webmail]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=560</guid>
		<description><![CDATA[Filed under: email, redirect, sub-domain, webmail Issue : webmail.domain.tld does not work. Fix : 1. Create an &#8216;A&#8217; record for the sub-domain &#8216;webmail&#8217; in the DNS zone file. It should look like : domain.com. IN A XX.XX.XXX.XXX localhost.domain.com. IN A 127.0.0.1 domain.com. IN MX 0 domain.com. mail IN CNAME domain.com. www IN CNAME domain.com. ftp [...]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/email/'>email</a>, <a href='http://www.instacarma.com/blog/tag/redirect/'>redirect</a>, <a href='http://www.instacarma.com/blog/tag/sub-domain/'>sub-domain</a>, <a href='http://www.instacarma.com/blog/tag/webmail/'>webmail</a></p>
<p><strong>Issue :</strong></p>
<p><em>webmail.domain.tld</em> does not work.<br />
<strong><br />
Fix :</strong></p>
<p>1. Create an &#8216;A&#8217; record for the sub-domain &#8216;webmail&#8217; in the DNS zone file. It should look like :</p>
<blockquote><p>domain.com. IN A XX.XX.XXX.XXX<br />
localhost.domain.com. IN A 127.0.0.1<br />
domain.com. IN MX 0 domain.com.<br />
mail IN CNAME domain.com.<br />
www IN CNAME domain.com.<br />
ftp IN A XX.XX.XXX.XXX<br />
cpanel IN XX.XX.XXX.XXX<br />
whm IN A XX.XX.XXX.XXX<br />
<strong>webmail IN A XX.XX.XXX.XXX</strong><br />
webdisk IN A XX.XX.XXX.XXX
</p></blockquote>
<p>2. Put the following code inside <em>.htaccess</em> in the sub-domain folder ( virtual sub-domain which doesn&#8217;t have an entry in httpd.conf</p>
<blockquote><p>RewriteEngine on<br />
RewriteCond %{HTTP_HOST} ^webmail.domain.com$ [OR]<br />
RewriteCond %{HTTP_HOST} ^www.webmail.domain.com$<br />
RewriteRule ^.*$ “http\:\/\/domain\.com\/webmail” [R=301,L]</p></blockquote>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/how-to-redirect-webmail-domain-tld-to-domain-tldwebmail/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/how-to-redirect-webmail-domain-tld-to-domain-tldwebmail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to redirect the main domain to a sub-domain</title>
		<link>http://www.instacarma.com/blog/technical/how-to-redirect-the-main-domain-to-a-sub-domain/</link>
		<comments>http://www.instacarma.com/blog/technical/how-to-redirect-the-main-domain-to-a-sub-domain/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 18:25:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[redirect]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=554</guid>
		<description><![CDATA[Filed under: redirect To redirect a domain to its own sub-folder, use the following code in your .htaccess file : RewriteEngine On RewriteCond %{HTTP_HOST}%{REQUEST_URI} ^present site.com/$ [NC,OR] RewriteCond %{HTTP_HOST}%{REQUEST_URI} ^www.present site.com/$ [NC] RewriteRule ^(.*)$ http://www.present site.com/sub-folder/$1 [r=301,nc]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/redirect/'>redirect</a></p>
<p>To redirect a domain to its own sub-folder,<br />
use the following code in your<em> .htaccess</em> file :</p>
<blockquote><p>RewriteEngine On<br />
RewriteCond %{HTTP_HOST}%{REQUEST_URI} ^present site.com/$ [NC,OR]<br />
RewriteCond %{HTTP_HOST}%{REQUEST_URI} ^www.present site.com/$ [NC]<br />
RewriteRule ^(.*)$ http://www.present site.com/sub-folder/$1 [r=301,nc]</p></blockquote>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/how-to-redirect-the-main-domain-to-a-sub-domain/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/how-to-redirect-the-main-domain-to-a-sub-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add-on Domain being redirected</title>
		<link>http://www.instacarma.com/blog/technical/add-on-domain-being-redirected/</link>
		<comments>http://www.instacarma.com/blog/technical/add-on-domain-being-redirected/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 17:08:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[redirect]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=167</guid>
		<description><![CDATA[Filed under: domain, redirect Issue : While accessing the subfolder of an addon domain using httpd://www.addondomain.com/subfolder the URL changes to httpd://www.subdomain.maindomain.com/subfolder but at the same time, httpd://www.addondomain.com/subfolder/ (the one with trailing slash) works fine. Fix : This issue can be fixed by changing the ServerName entry in httpd.conf. Change ServerName subdomain.maindomain.com to ServerName addondomain.com]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/domain/'>domain</a>, <a href='http://www.instacarma.com/blog/tag/redirect/'>redirect</a></p>
<p><strong>Issue :<br />
</strong><br />
While accessing the subfolder of an addon domain using<br />
httpd://www.addondomain.com/subfolder<br />
the URL changes to<br />
httpd://www.subdomain.maindomain.com/subfolder<br />
but at the same time,<br />
httpd://www.addondomain.com/subfolder/ (the one with trailing slash) works fine.</p>
<p><strong>Fix : </strong></p>
<p>This issue can be fixed by changing the ServerName entry in httpd.conf.</p>
<p>Change<br />
ServerName subdomain.maindomain.com<br />
to<br />
ServerName addondomain.com</p>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/add-on-domain-being-redirected/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/add-on-domain-being-redirected/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

