<?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>SupportSages</title>
	<atom:link href="http://www.supportsages.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.supportsages.com/blog</link>
	<description>Technical Support and Server Management : Musings in the fox hole.</description>
	<lastBuildDate>Tue, 09 Mar 2010 17:34:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>who manages domain names &amp; ip addresses</title>
		<link>http://www.supportsages.com/blog/2010/03/who-manages-domain-names-ip-addresses/</link>
		<comments>http://www.supportsages.com/blog/2010/03/who-manages-domain-names-ip-addresses/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 17:32:56 +0000</pubDate>
		<dc:creator>Jince</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=641</guid>
		<description><![CDATA[<strong>IANA &#38; ICANN</strong>
--------------------

The assignment of identifiers such as addresses and names, to ensure that they are created and allocated in a way that is acceptable to all is the main factor for the success of the Internet. So some sort of centralized organization is required. The organization originally responsible for this task was Internet Assigned Names and Numbers (IANA). IANA was originally charged with the task of managing which IP address blocks had been assigned to different companies and groups, and maintaining periodically-published lists of Internet parameters such as tcp and udp port no.s. It also was in charge of ...]]></description>
			<content:encoded><![CDATA[<p><strong>IANA &amp; ICANN</strong><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>The assignment of identifiers such as addresses and names, to ensure that they are created and allocated in a way that is acceptable to all is the main factor for the success of the Internet. So some sort of centralized organization is required. The organization originally responsible for this task was Internet Assigned Names and Numbers (IANA). IANA was originally charged with the task of managing which IP address blocks had been assigned to different companies and groups, and maintaining periodically-published lists of Internet parameters such as tcp and udp port no.s. It also was in charge of registrations of DNS. As the Internet grew, there was the requirement of a additional authority to manage the growing load. So by the mid 90s the Internet Corporation for Assigned names and Numbers (ICANN) came into existence. ICANN is now officially charged with all of the centralized registration tasks including IP address assignment, DNS domain name assignment, and protocol parameters management.</p>
<p>This development would have meant that IANA would have been completely replaced by ICAAN. But that did not happen. Instead, IANA was put under ICAAN and is now in charge of IANA. Both organizations are responsible for IP addresses and parameters. Thus there are basically no differences between the two. These two together are at the top level of the Internet&#8217;s Name and Addresses registration and their delegation process. They also maintain the 13 root servers in the world which are at the top of the DNS tree.</p>
<p>For the functioning of the whole DNS system, 2 factors are to be maintained : </p>
<p><strong>NAMES</strong> (Domain Names) &amp; <strong>NUMBERS</strong> ( IP &amp; tcp-udp protocol numbers).</p>
<p><strong>NAMES or DOMAIN NAME SYSTEM (DNS)</strong><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>The domains at their top level are classified as : <strong>gTLD</strong> (generic Top Level Domain) &amp; <strong>ccTLD</strong> ( country code Top Level Domain).</p>
<p><strong>Generic Top Level Domian (gTLD)</strong><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>The initial gTLDs and their original intended organization types were:</p>
<p>.ARPA:* A temporary domain used many years ago for transition to<br />
DNS. Its name refers to the ARPAnet, the precursor of the modern<br />
Internet. Today this domain is used for everse resolution</p>
<p>.COM:* Corporations and businesses.</p>
<p>.EDU:* Universities and other educational organizations.</p>
<p>.GOV:* Government agencies.</p>
<p>.MIL:* Military organizations.</p>
<p>.NET:* Organizations that implement, deal with or manage<br />
networking technologies</p>
<p>.ORG:* Other organizations that don&#8217;t fit into any of the classifications above.</p>
<p>The .ARPA domain is the “Address and Routing Parameter Area” domain and is designated to be used exclusively for Internet-infrastructure purposes. It is administered by the IANA in cooperation with the Internet technical community under the guidance of the Internet Architecture Board.The .arpa domain currently includes the following second-level domains: ARPA, IN-ADDR.ARPA, IN-ADDR.ARPA, IRIS.ARPA, IP6.ARPA, URI.ARPA, URN.ARPA . So the ARPA domain was not for commercial registration purposes. This left only six categories for all other organizations. Also, the TLDs weren&#8217;t all used as was originally foreseen;for example, the .GOV and .MIL domains were not used for all types of government and military organizations, but primarily for the United States federal government and military. .EDU ended up being used only for universities, again in the United States. This left only three common top-level domains—.COM, .NET and .ORG—for almost all other groups and companies that wanted to use the organizational hierarchy. Since there were only three such TLDs, they quickly became very “crowded”, especially the .COM domain. A new fourth domain, .INT for international organizations, was added fairly soon to the original seven, but it too was only for a small number of organizations, such as international standards bodies.These TLDs are intended to provide a place for all companies and organizations to be named based on their organization type. There were originally six such domains, but this has been expanded so that there are now fifteen to meet the growing needs. Please refer to the below link for the complete list :</p>
<p><a href="http://www.iana.org/domains/root/db/#"></p>
<p>http://www.iana.org/domains/root/db/#</p>
<p></a></p>
<p><strong>Country Code Top Level Domain (ccTLD)</strong><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>In theory, the gTLDs would have been sufficient to meet the needs of all the individuals, companies and groups in the world. This is especially true since .ORG by definition is a “catch all” that can include anyone or anything. However, back at the beginning of DNS, its creators recognized that the generic TLDs might not meet the needs of everyone around the world. There are several reasons for this, chief among them:</p>
<p>American Monopoly of the Generic Domains : The United States organizations and companies dominate the generic TLDs. This is not surprising, given that the Internet was first developed in the U.S.A., but it still presents a problem for certain groups. For example, if the United States military controls the .MIL domain where does, say, Britain&#8217;s military fit into the name space?</p>
<p>Language : Most of the generic domains are populated by organizations that primarily do business in English. There are hundreds of languages in the world, however, and it&#8217;s easier for the speakers of those tongues if they can more readily locate resources they can understand.</p>
<p>Local Control : Countries around the world rarely agree on much, and they certainly differ on how organizations within their nations should have their Internet presence arranged. There was a desire on the parts of many to allow nations to have the ability to set up subsets of the name space for their own use.</p>
<p>For these and other reasons, the Internet&#8217;s name space was set up with a set of country code top-level paralleling the generic ones, sometimes called/ ccTLD /or geopolitical TLDs since they are based on geopolitical divisions of the world In this hierarchy, every country of the world is assigned a particular two-letter code as a top-level domain, with a specific authority put in charge of administering the domain. For example, the ccTLD for Great Britain is “.UK”, the one for Canada “.CA” and the one for Japan is “.JP”. The codes often are more meaningful in the local language than in English, incidentally; Germany&#8217;s is “.DE” and Switzerland&#8217;s “.CH”. Refer to the following link for the complete list :</p>
<p><a href="http://www.iana.org/domains/root/db/#"></p>
<p>http://www.iana.org/domains/root/db/#</p>
<p></a></p>
<p>Each country has the authority to set up its TLD with whatever internal substructure it chooses; again, this is the power of a hierarchical structure. Some countries enforce a further geographical substructure at the lower levels. For example, the .US domain for the United States was originally set up so that all second-level domains were two-letter state abbreviations (this was later changed). Below  is the reason</p>
<p>Disadvantage of strict ccTLD implementation :</p>
<p>For eg: we need to know about a company which is located in Germany, say bmw. As per the ccTLD basis the company site should be somewhat www.bmw.de . The question is, what if we never knew the location of company ? We will obviously not sit and try suffixing those 200 ccTLDs out there. The most obvious URL that we Internet users would type into the browser would be www.bmw.com since we know it is a commercial organization. So this is where the popularity of gTLDs  are exhibited. (Ofcourse with today’s search engines like google, we can manage to find that out. But what if it is the domain of a small store in an unknown country and we do not have the time to google it out ?)</p>
<p>Another fine eg would be this : In the U.S , the authority in charge of this domain chose to make it follow a strict geographical hierarchy, so every domain must be of the form “organization.city.state-code.US”. So, to use this part of the name space, a company “xyz”in Boston must be within the “xyz.boston.ma.us” domain. This format has made the name more longer and harder to guess. Further,  if you weren’t aware of the city in which the company is located,  it would have added to the trouble finding it out. Finally, The .US authority eventually abandoned the strict geographical hierarchy due to its non-acceptance.</p>
<p>IANA is responsible for management of the DNS root zone. The role is in assigning the operators of top-level domains, such as .UK and .COM, and maintaining their technical and administrative details.</p>
<p>Root Zone Database : IANA&#8217;s Root Zone Database contains the authoritative record of the operators of various top-level domains. The Root Zone Database represents the delegation details of top-level domains, including gTLDs such as “.COM”, and country-code TLDs such as “.UK”. As the manager of the DNS root zone, IANA is responsible for coordinating these delegations in accordance with its policies and procedures.</p>
<p><strong>DOMAIN NAME REGISTRY, DOMAIN NAME REGISTRAR &amp; DOMAIN NAME REGISTRANT  or  simply : REGISTRY, REGISTRAR  &amp;  REGISTRANT</strong><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>A <strong>domain name registry</strong>, is a database of all domain names registered in a top-level domain. A registry operator, also called a Network Information Center (NIC), is the part of the Domain Name System (DNS) of the Internet that keeps the database of domain names, and generates the zone files which convert domain names to IP addresses. Each NIC is an organisation that manages the registration of Domain names within the top-level domains for which it is responsible, controls the policies of domain name allocation, and technically operates its top-level domain. It is potentially distinct from a domain name registrar.</p>
<p>A <strong>domain name registrar</strong> is an organization or commercial entity, accredited by the Internet Corporation for Assigned Names and Numbers (ICANN) or by a national country code top-level domain (ccTLD) authority, to manage the reservation of Internet domain names in accordance with the guidelines of the designated domain name registries and offer such services to the public. Such a registrar is know as &#8220;Accredited Registrar&#8221; or &#8220;Designated Registrar&#8221;.</p>
<p>A <strong>domain name registrant</strong> is a person/organization who/which  owns a domain name in the webspace ( i.e. in the world of Internet) so that he /it can create a website and start sharing information on the Internet. Or going by the name, a registrant is the one which approached a registrar and has registered a domain name in his name and is the owner of it. Once became a registrant of a domain name, he is the sole owner of it and no other person on the planet can request for the same domain name in the Internet&#8217;s webspace or namespace until the domain name gets expired and is deleted from the registry thereby becoming publically available.</p>
<p>Explanation :<br />
&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Please refer to the links for the list of gTLDs &#038; ccTLDs. In the tables for gTLDs and ccTLDs, Sponsoring Organisation mentioned, is the &#8220;Domain Name Registry&#8221; for the respective domain. These organisations have been directly authorized by ICAAN to hold the Root Zone Database for the domains they are handling i.e. a  domain registry comes just  below the  ICANN/IANA  in the  DNS  authority hierarchy. One of the famous registry is &#8220;Verisign&#8221; which handles .COM and .NET domains, NeuStar Inc. for .BIZ etc. This means that they are the ultimate authority (excluding ICANN/IANA) for matters pertaining to the TLDs they handle.</p>
<p>In the young age of the DNS, they handled all the name registrations of the domain under their authority. Later on as the Internet became more crowded, the load on them increased. Further more, these organisations increased the charges for registration. So with the aim to increase competition in this field and decrease the rates, ICANN made the domain name registration more public i.e. they started lending out the registration right to other private firms. These firms will now have the power to register a domain name into the world of Internet. For this, they will have to register with ICANN for the TLD domain they are interested in. Once they get registered, they will be an ICANN &#8220;Accredited Registrar&#8221; or &#8220;Designated Registrar&#8221; or simply a &#8220;Domain Name Registrar&#8221; (eg: goDaddy). For becoming an accredited registrar, one need not contact ICANN directly. They will have to find out which is the &#8220;Domain Registry&#8221; for the TLD they are interested in and just register at the particular registry&#8217;s website. This is one of the main differences between a &#8220;registry&#8221; and a &#8220;registrar&#8221;. A particular TLD&#8217;s registry has the power to authorize a 3rd party as that TLD&#8217;s accredited registrar and people who wish to start a domain(or website) can buy a domain name from this registrar. One can become an accredited registrar for more than 1 TLDs. For eg : if a company needs to become the accredited registrar for the TLDs &#8211; .com , .biz  and  .coop , they will have to individually register with the : VeriSign Global Registry Services, DotAsia Organisation Ltd. and DotCooperation LLC respectively. Once they get registered  they attain the &#8220;Accredited Registrar&#8221; status for the TLDs .COM, .BIZ &amp; .COOP. Their company name will automatically be entered into the &#8220;Accredited Registrar&#8221; list of ICANN. The company can then go onto provide domain names under .COM, .BIZ &amp; .COOP to clients.</p>
<p>So the IANA/ICANN is responsible for  maintaining the DNS ROOT which is the upper-most part of the DNS hierarchy, and involves delegating administrative responsibility of “top-level domains”, which are the last segment of a domain name, such as .com, .uk and .nz. Part of this task includes evaluating requests to change the operators of country code domains, as well as day-to-day maintenance of the details of the existing operators.</p>
<p><strong>NUMBER SYSTEM</strong><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>IANA is responsible for global coordination of the Internet Protocol addressing systems, as well as the Autonomous System Numbers used for routing Internet traffic. Just like maintaining the Name system, IANA has its subsidiaries for looking after the Number system.</p>
<p>The IP address is a Number resource that IANA manages in addition to many others. The task of assigning IPv4 and IPv6 to the end user in Internet is done in a 2 level hierarchy :</p>
<p>Level 1  : <strong>RIR &#8211; Regional Internet Registry</strong> ( there is no such technical term for this hierarchy separation as &#8220;level 1&#8243; &amp; &#8220;level 2&#8243;&#8230;just mentioned for clear understanding)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>The RIRs manage the allocation of IP addresses on a continent basis. These RIRs have the authority to re-allocate them within their respective geographical areas (of continental scope). There  are accordingly  5  RIRs covering the whole globe. The RIRs are the ones which are directly below the IANA in hierarchy. They are :</p>
<p><strong>AFRINIC</strong> (for African Continent) : AfriNIC is a non-government, not-for-profit, membership based organization, based in Mauritius that serves the African Internet<br />
Community. AfriNIC is the Regional Registry for Internet Number Resources for Africa.   (http://www.afrinic.net)</p>
<p><strong>APNIC</strong> ( for Asia Pacific region) : APNIC is a not-for-profit organization providing Internet addressing services to the Asia Pacific. It includes India , China , Japan, Aus etc..http://www.apnic.net/)</p>
<p><strong>ARIN</strong> (North America Region) : American Registry for Internet Numbers (ARIN). It covers USA, Canada etc&#8230;(https://www.arin.net)</p>
<p><strong>LACNIC</strong> (Latin America and some Caribbean Islands) : It is a Latin American and Caribbean Islands Internet Registry. (http://lacnic.net/)</p>
<p><strong>RIPE NCC</strong> (for Europe, Middle East and parts of Central Asia) : Réseaux IP Européens Network Coordination Centre. (http://www.ripe.net/)</p>
<p>Level 2 : <strong>NIR &#8211; National Internet Registry</strong> ( this is an intermediate registry only for APNIC. for other RIRs it will have another name. )<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>The NIR is an organization directly under the umbrella of a RIR with the task of coordinating IP address allocations and other Internet resource management functions at a national level within a country.</p>
<p>The following NIRs are currently operating in the APNIC region:</p>
<p>* CNNIC, China Internet Network Information Center<br />
* JPNIC, Japan Network Information Center</p>
<p>Level 2 : <strong>Local Internet Registry or  Internet Service Provider</strong> ( this is again level 2 since it is for RIRs other than APNIC )<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>An Internet Service Provider(ISP) , also sometimes referred to as an Internet Access Provider (IAP), is a company that offers its customers access to the Internet. The ISP connects to its customers using a data transmission technology appropriate for delivering IP datagrams as dial-up, DSL, wireless or dedicated high-speed interconnects. In India we have the following ISPs : BSNL, Reliance, TATA etc..</p>
<p>And finally from the organisations in the Level 2 the we end  users get the connection.</p>
<p>Thus in the paragraphs above we saw the authority hierarchy in the management of Internet&#8217;s NAMES &amp; NUMBERS.</p>
<p>In addition to this IANA also directly manages  :</p>
<p>1) .INT : designed for the sole use of cross-national organisations, such as treaty organisations, that do not naturally fit into a specific country’s top-level domain. For<br />
example, the World Health Organisation uses who.int for its Internet presence, whilst NATO uses nato.int</p>
<p>2) .ARPA : The .arpa domain is used internally by Internet protocols, such as for reverse mapping of IP addresses</p>
<p>3) IDN Practices Repository : Internationalized domain names are domain names represented by native language characters. The native language domain name will be<br />
followed by .com or .net.IANA maintains a collection of “IDN tables”, which represent permitted code points (letters) allowed for<br />
Internationalised Domain Name registrations in particular registries</p>
<p>4) Protocol Assignments :  IANA is responsible for maintaining many of the codes and numbers contained in a variety of Internet protocols.</p>
<p>Note : Having understood all these one might still wonder the difference between IANA &amp; ICANN. IANA is one of the Internet&#8217;s oldest institutions, with its activities dating back to the 1970s. Today it is operated by ICANN, an internationally-organized non-profit organization set up by the Internet community in Sept. 30 1998 to help coordinate IANA&#8217;s areas of responsibilities. Thus basically there is no difference between them. So their names are used interchangeably in many contexts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2010/03/who-manages-domain-names-ip-addresses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MSSQL &#8211; Two common issues while restoring a backup and it&#8217;s solutions</title>
		<link>http://www.supportsages.com/blog/2010/02/mssql-two-common-issues-while-restoring-a-backup-and-its-solutions/</link>
		<comments>http://www.supportsages.com/blog/2010/02/mssql-two-common-issues-while-restoring-a-backup-and-its-solutions/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 02:35:54 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[backup restoration]]></category>
		<category><![CDATA[database backup restoration]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[restoration]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=625</guid>
		<description><![CDATA[There are two most common issues while restoring the database (usually ending in .bak format).


<strong>First error</strong>
System.Data.SqlClient.SqlError: The backup set holds a backup of a database other than the existing '<strong>user_database</strong>' database. (Microsoft.SqlServer.Express.Smo)


<strong>Solution for First error</strong>
	<li>Connect to the database server</li>
<a href="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot.png"><img class="alignnone size-full wp-image-626" title="Logging in" src="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot.png" alt="Logging in to the web server" width="368" height="273" /></a>
	<li>Go to the restore option and select Restore Database

<a href="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-1.png"><img class="alignnone size-full wp-image-627" title="Screenshot-1" src="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-1.png" alt="" /></a></li>
	<li>On the Restore page that loads up, make sure that the <strong>Destination for restore</strong> has the database you want to restore and in the<strong> Source for Restore</strong>, choose<strong> From device:</strong> ...]]></description>
			<content:encoded><![CDATA[<p>There are two most common issues while restoring the database (usually ending in .bak format).</p>
<p><strong>First error</strong><br />
System.Data.SqlClient.SqlError: The backup set holds a backup of a database other than the existing &#8216;<strong>user_database</strong>&#8216; database. (Microsoft.SqlServer.Express.Smo)</p>
<p><strong>Solution for First error</strong></p>
<li>Connect to the database server</li>
<p><a href="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot.png"><img class="alignnone size-full wp-image-626" title="Logging in" src="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot.png" alt="Logging in to the web server" width="368" height="273" /></a></p>
<li>Go to the restore option and select Restore Database
<p><a href="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-1.png"><img class="alignnone size-full wp-image-627" title="Screenshot-1" src="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-1.png" alt="" /></a></li>
<li>On the Restore page that loads up, make sure that the <strong>Destination for restore</strong> has the database you want to restore and in the<strong> Source for Restore</strong>, choose<strong> From device:</strong> And browse by clicking<strong> [..] </strong>and Add the file location there, the location where your database backup resides. You may need to browse the backup. If you get permission denied, copy the bak in the MSSQL folder.
<p><div id="attachment_629" class="wp-caption alignnone" style="width: 610px"><a href="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-2.png"><img class="size-medium wp-image-629 " title="Attaching the database backup file" src="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-2.png" alt="Attaching the database backup file" width="600" height="252" /></a><p class="wp-caption-text">Attaching the database backup file</p></div></li>
<li>Restore it. Make sure that the <strong>Restore Checkbox is selected</strong>. And Click <strong>OK</strong>. And get ready for the error <img src='http://www.supportsages.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
<p><a href="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-3.png"><img class="alignnone size-full wp-image-630" title="Screenshot-3" src="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-3.png" alt="" /></a></li>
<li>Here comes the first error<strong>System.Data.SqlClient.SqlError: The backup set holds a backup of a database other than the existing &#8216;user_database&#8217; database. (Microsoft.SqlServer.Express.Smo)</strong><a href="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-5.png"><img class="alignnone size-full wp-image-631" title="Screenshot-5" src="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-5.png" alt="" /></a><br />
And the solution is to go to <strong>Options </strong>-&gt; <strong>Overwrite Existing Database</strong> . But if you aren&#8217;t so lucky, you will be welcomed by another error as seen below. where it&#8217;s solution is to edit the path from D:\ to C:\ or whichever Drive, where your MSSQL is installed.</p>
<p><strong>System.Data.SqlClient.SqlError: Directory lookup for the file &#8220;D:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\user_database.mdf&#8221; failed with the operating system error 3(The system cannot find the path specified.). (Microsoft.SqlServer.Express.Smo)</strong></p>
<p><a href="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-6.png"><img class="alignnone size-full wp-image-632" title="Screenshot-6" src="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-6.png" alt="" /></a></li>
<li>Both THE Solutions are in a single screen shot. The final screenshot <img src='http://www.supportsages.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
<p><a href="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-4.png"><img class="alignnone size-full wp-image-633" title="Screenshot-4" src="http://www.supportsages.com/blog/wp-content/uploads/2010/02/Screenshot-4.png" alt="" /></a></li>
<li>
Just edit D:\ProgramFiles\Microsoft&#8230; to C:\ProgramFiles\Microsoft or whichever directory where you installed the MSSQL server. Don&#8217;t keep database server on your system drive C: though.</li>
]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2010/02/mssql-two-common-issues-while-restoring-a-backup-and-its-solutions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTTP 405: The HTTP verb used to access this page is not allowed</title>
		<link>http://www.supportsages.com/blog/2010/02/http-405-the-http-verb-used-to-access-this-page-is-not-allowed/</link>
		<comments>http://www.supportsages.com/blog/2010/02/http-405-the-http-verb-used-to-access-this-page-is-not-allowed/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 20:53:12 +0000</pubDate>
		<dc:creator>arnold</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[HTTP 405]]></category>
		<category><![CDATA[HTTP verb used to access this page is not allowed]]></category>
		<category><![CDATA[Windows 2003]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=623</guid>
		<description><![CDATA[On an html page, one of our customers was getting this issue. Despite asking him to change the extension to .asp, he insisted to have html extension and still process the HTTP verbs, where it is POST method here. 

Situation becomes like this a static page wants to be read a dynamic page and process the values obtaining from POST method. Solution is to make the .html read as .asp with asp dll, just like we do html parse as php in Linux boxes Here are the steps to do it on a Windows 2003 machine

1. <strong>Start</strong> --> Run --> ...]]></description>
			<content:encoded><![CDATA[<p>On an html page, one of our customers was getting this issue. Despite asking him to change the extension to .asp, he insisted to have html extension and still process the HTTP verbs, where it is POST method here. </p>
<p>Situation becomes like this a static page wants to be read a dynamic page and process the values obtaining from POST method. Solution is to make the .html read as .asp with asp dll, just like we do html parse as php in Linux boxes Here are the steps to do it on a Windows 2003 machine</p>
<p>1. <strong>Start</strong> &#8211;> Run &#8211;> <strong>inetmgr</strong><br />
2. Websites &#8211;> website/domain name in question<br />
3. Right Click on the domain &#8211;> <strong>Properties</strong> &#8211;> <strong>Home Directory</strong> &#8211;> <strong>Configuration</strong><br />
4. In the tab <strong>Mappings</strong> &#8211;> <strong>Add an extension</strong> for .html and .htm , if it is missing (most cases it will be missing) and edit to add all verbs (POST, GET, HEAD are needed)<br />
5. Fields to be added are as below,</p>
<p><strong>Executable :</strong> C:\WINDOWS\system32\inetsrv\asp.dll<br />
<strong>Extension :</strong> .html<br />
<strong>Limit to :</strong> GET,HEAD,POST,TRACE</p>
<p>And Click Apply, OK <img src='http://www.supportsages.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  All is well !!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2010/02/http-405-the-http-verb-used-to-access-this-page-is-not-allowed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH passwordless login and sudo user</title>
		<link>http://www.supportsages.com/blog/2010/01/ssh-passwordless-login-and-sudo-user/</link>
		<comments>http://www.supportsages.com/blog/2010/01/ssh-passwordless-login-and-sudo-user/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 17:41:46 +0000</pubDate>
		<dc:creator>nash</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=594</guid>
		<description><![CDATA[Password less SSH login to another server can be very useful when you want to configure a remote backup server or when migrating servers. For enabling this you need to have openSSH installed on the server. Here is a tutorial on how to configure password less SSH login to server 'mars' from server 'earth'


1. Login to earth as <strong>root</strong>.


2. Run the command <strong>ssh-keygen -t rsa</strong>
If the key already exists you can either go to step 3 or you can generate a new key by overwriting existing key (see image). It would be better to overwrite the existing key if you ...]]></description>
			<content:encoded><![CDATA[<p>Password less SSH login to another server can be very useful when you want to configure a remote backup server or when migrating servers. For enabling this you need to have openSSH installed on the server. Here is a tutorial on how to configure password less SSH login to server &#8216;mars&#8217; from server &#8216;earth&#8217;</p>
<p>1. Login to earth as <strong>root</strong>.</p>
<p>2. Run the command <strong>ssh-keygen -t rsa</strong><br />
If the key already exists you can either go to step 3 or you can generate a new key by overwriting existing key (see image). It would be better to overwrite the existing key if you did not generate it.<br />
<br/><br />
<img src="http://www.supportsages.com/blog/wp-content/uploads/2009/12/public-key1.png" alt="public-key" title="public-key" width="471" height="410" class="alignnone size-full wp-image-600" /></p>
<p>3. Change directory to /root/.ssh/</p>
<p>root@earth:~# cd /root/.ssh/<br />
root@earth:~/.ssh#</p>
<p>4. Copy the contents of the file id_rsa.pub to the directory /root/.ssh/authorized_keys<br />
scp -P
<port> id_rsa.pub root@mars_server_IP:/root/.ssh/authorized_keys</p>
<p>5. You will be able to login to the remote server &#8216;mars&#8217; by typing ssh root@mars_server_IP -p
<port> without password now</p>
<p><strong>Creating Sudo user to login as root:</strong></p>
<p>1. Login to server as root</p>
<p>2. Create a new user by using the command </p>
<p>root@server:~# useradd user</p>
<p>3. Assign a  password for the user by using the command<br />
root@server:~# passwd user</p>
<p>4. Add the user to the admin group in /etc/groups</p>
<p>root@server:~# vi /etc/groups<br />
admin:x:121:<strong>user1,user2</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2010/01/ssh-passwordless-login-and-sudo-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Postgresql issues with a cPanel server</title>
		<link>http://www.supportsages.com/blog/2010/01/postgresql-issues-with-a-cpanel-server/</link>
		<comments>http://www.supportsages.com/blog/2010/01/postgresql-issues-with-a-cpanel-server/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 02:30:34 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[error]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=612</guid>
		<description><![CDATA[Recently with a cPanel server, we had this issue of not being able to create postgresql database even after the postgresql package is installed and database server is running. Fixing of one issue lead to another there by needing to fix all the errors.

<blockquote>Cpanel::AdminBin::adminrun(postgres) set error in context postgres
[2010-01-16 12:24:18 -0500] warn [postgres::listdbs] Encountered error in postgres::listdbs: Error from postgres wrapper: PostgreSQL has not been configured by the administrator. Unable to locate pgpass file.</blockquote>

This was fixed by doing these,

<strong>Login to WHM => SQL Services => Postgres Config => Click on “Install Config”.
Login to WHM => SQL Services => Postgres Config ...]]></description>
			<content:encoded><![CDATA[<p>Recently with a cPanel server, we had this issue of not being able to create postgresql database even after the postgresql package is installed and database server is running. Fixing of one issue lead to another there by needing to fix all the errors.</p>
<blockquote><p>Cpanel::AdminBin::adminrun(postgres) set error in context postgres<br />
[2010-01-16 12:24:18 -0500] warn [postgres::listdbs] Encountered error in postgres::listdbs: Error from postgres wrapper: PostgreSQL has not been configured by the administrator. Unable to locate pgpass file.</p></blockquote>
<p>This was fixed by doing these,</p>
<p><strong>Login to WHM => SQL Services => Postgres Config => Click on “Install Config”.<br />
Login to WHM => SQL Services => Postgres Config => &#8220;Set a Postgresql password also&#8221;</strong></p>
<p>No error in cPanel after doing above. However that followed by an issue of created DBs not being appeared in the List DB page of Postgresql databases. Went to shell. Logged in as root . Switched to postgres. &#8220;su &#8211; postgres&#8221; . Ran the command &#8220;psql&#8221; and then</p>
<p><code>-bash-3.2$ psql<br />
Welcome to psql 8.1.18, the PostgreSQL interactive terminal.</p>
<p>Type:  \copyright for distribution terms<br />
       \h for help with SQL commands<br />
       \? for help with psql commands<br />
       \g or terminate with semicolon to execute query<br />
       \q to quit</p>
<p>postgres=# \l<br />
        List of databases<br />
   Name    |  Owner   | Encoding<br />
-----------+----------+----------<br />
 postgres  | postgres | UTF8<br />
 template0 | postgres | UTF8<br />
 template1 | postgres | UTF8<br />
(3 rows)</p>
<p>postgres=# \q</code></p>
<p>No DB was created. Checked the logs /usr/local/cpanel/logs/error_log and it had entries like <strong>ERROR:  role &#8220;username&#8221; does not exist</strong> which meant, no roles to create the database.</p>
<p><code>cd /var/cpanel/users &#038;&#038; for x in *; do su -c "createuser -S -D -R $x" postgres; done</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2010/01/postgresql-issues-with-a-cpanel-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bad Request (Invalid Hostname) when accessing via IP</title>
		<link>http://www.supportsages.com/blog/2009/12/bad-request-invalid-hostname-when-accessing-via-ip/</link>
		<comments>http://www.supportsages.com/blog/2009/12/bad-request-invalid-hostname-when-accessing-via-ip/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 19:19:57 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Bad Request]]></category>
		<category><![CDATA[Invalid Hostname]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=610</guid>
		<description><![CDATA[Customer wanted to have a dedicated IP, but once I change the IP from the plesk control panel, I couldn't get the website when accessed using IP. Instead, it was giving me the plesk control panel's default page. Reason ? Default Website was having the IP as "All Unassigned". Set that to the main IP address. But after that I was getting a new error.

What I could get was "Bad Request (Invalid Hostname)" in bold letters. Here is what I did to fix the same.

Start -> Run -> inetmgr -> Expand the (+) -> Websites -> Right click on the ...]]></description>
			<content:encoded><![CDATA[<p>Customer wanted to have a dedicated IP, but once I change the IP from the plesk control panel, I couldn&#8217;t get the website when accessed using IP. Instead, it was giving me the plesk control panel&#8217;s default page. Reason ? Default Website was having the IP as &#8220;All Unassigned&#8221;. Set that to the main IP address. But after that I was getting a new error.</p>
<p>What I could get was &#8220;Bad Request (Invalid Hostname)&#8221; in bold letters. Here is what I did to fix the same.</p>
<p>Start -> Run -> inetmgr -> Expand the (+) -> Websites -> Right click on the domain name -> Take Properties -> Website -> IP Address (make sure that it has the dedicated IP assigned there) and then click &#8220;Advanced&#8221;</p>
<p><strong>Add/Edit Web Site Identification</strong></p>
<p>IP Address : Choose the dedicated IP from drop down list<br />
TCP/IP Port : 80<br />
Host Header Value : Leave it blank (Important)</p>
<p>Leaving the Host Header Value should fix the issue and fetch the website when accessing it using the IP.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2009/12/bad-request-invalid-hostname-when-accessing-via-ip/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Rebuilding Software RAID</title>
		<link>http://www.supportsages.com/blog/2009/12/rebuilding-software-raid/</link>
		<comments>http://www.supportsages.com/blog/2009/12/rebuilding-software-raid/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 17:01:03 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mdadm]]></category>
		<category><![CDATA[RAID]]></category>
		<category><![CDATA[rebuild array]]></category>
		<category><![CDATA[software raid]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=592</guid>
		<description><![CDATA[One of our clients had a hard drive fail. The harddisk was marked faulty and removed as well. Client inserted new HDDs, and needed us to rebuild the array. Hot swappable HDs would have done the job real quick. But not here. There is some process involved in rebuilding the array. 

A normal array will have the output similar to below - Notice the [UU] - U could mean "Used". A fully functional RAID system would show [UU] for each slice. 

<code>
cat /proc/mdstat 
Personalities : [raid1] 
md0 : active raid1 sda1[0] sdb1[1]
      1052160 blocks [2/2] ...]]></description>
			<content:encoded><![CDATA[<p>One of our clients had a hard drive fail. The harddisk was marked faulty and removed as well. Client inserted new HDDs, and needed us to rebuild the array. Hot swappable HDs would have done the job real quick. But not here. There is some process involved in rebuilding the array. </p>
<p>A normal array will have the output similar to below &#8211; Notice the [UU] &#8211; U could mean &#8220;Used&#8221;. A fully functional RAID system would show [UU] for each slice. </p>
<p><code><br />
cat /proc/mdstat<br />
Personalities : [raid1]<br />
md0 : active raid1 sda1[0] sdb1[1]<br />
      1052160 blocks [2/2] [UU]</code></p>
<p>A degraded array will look like,</p>
<p><code>cat /proc/mdstat<br />
Personalities : [raid1]<br />
md2 : active raid1 sdb2[1]<br />
      8385856 blocks [2/1] [_U]</code></p>
<p>_ means degraded array i.e partition missing from array.</p>
<p>Use fdisk to create partitions similar to the one working in the HDD. Using fdisk, then n , p t etc  to recreate the partitions are not needed if you have sfdisk in the server.</p>
<p>sfdisk &#8211; Partition table manipulator for Linux</p>
<p>fdisk -l or cat /proc/mdstat will give you the device name which is active and the below command will give the partition table of sdb to part.sdb file</p>
<p><code>sfdisk -d /dev/sdb > part.sdb</code></p>
<p><code>sfdisk –-force /dev/sda < part.sdb</code> will copy the partition table to this new sda disk saving the time.<br />
<strong><br />
BE CAREFUL ON WHAT PARTITION TABLES ARE COPIED. Don't copy unused drive's partition table to the active one <img src='http://www.supportsages.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </strong></p>
<p>Finally, once the partition table is copied, execute this</p>
<p># mdadm --add /dev/md0 /dev/sda1<br />
# mdadm --add /dev/md1 /dev/sda3<br />
# mdadm --add /dev/md2 /dev/sda2<br />
# mdadm --add /dev/md3 /dev/sda5</p>
]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2009/12/rebuilding-software-raid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling mod_rewrite in Apache 2.2</title>
		<link>http://www.supportsages.com/blog/2009/12/enabling-mod_rewrite-in-apache-2-2/</link>
		<comments>http://www.supportsages.com/blog/2009/12/enabling-mod_rewrite-in-apache-2-2/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 03:15:14 +0000</pubDate>
		<dc:creator>arnold</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=590</guid>
		<description><![CDATA[By default CentOS or RHEL flavours of Linux has Apache 2.2 installed. It often becomes a requirement to enable mod_rewrite on these servers. Techs who have been working with cPanel and server with control panels often finds it difficult to troubleshoot issues with a bare server. There are a few things to check or commands to execute in such case where mod_rewrite is shown enabled in the httpd.conf, but not working.


<blockquote>
[root@cave html]# httpd -V
Server version: Apache/2.2.3</blockquote>

<blockquote>[root@cave html]# httpd -M
Loaded Modules:
 core_module (static)
 mpm_prefork_module (static)
 http_module (static)
 so_module (static)
 auth_basic_module (shared)
 auth_digest_module (shared)
....
.......
....
rewrite_module (shared)
 proxy_module (shared)
 proxy_balancer_module (shared)
 proxy_ftp_module (shared)
 proxy_http_module ...]]></description>
			<content:encoded><![CDATA[<p>By default CentOS or RHEL flavours of Linux has Apache 2.2 installed. It often becomes a requirement to enable mod_rewrite on these servers. Techs who have been working with cPanel and server with control panels often finds it difficult to troubleshoot issues with a bare server. There are a few things to check or commands to execute in such case where mod_rewrite is shown enabled in the httpd.conf, but not working.</p>
<blockquote><p>
[root@cave html]# httpd -V<br />
Server version: Apache/2.2.3</p></blockquote>
<blockquote><p>[root@cave html]# httpd -M<br />
Loaded Modules:<br />
 core_module (static)<br />
 mpm_prefork_module (static)<br />
 http_module (static)<br />
 so_module (static)<br />
 auth_basic_module (shared)<br />
 auth_digest_module (shared)<br />
&#8230;.<br />
&#8230;&#8230;.<br />
&#8230;.<br />
rewrite_module (shared)<br />
 proxy_module (shared)<br />
 proxy_balancer_module (shared)<br />
 proxy_ftp_module (shared)<br />
 proxy_http_module (shared)<br />
 proxy_connect_module (shared)</p></blockquote>
<p><strong>[root@cave html]# a2enmod rewrite</strong></p>
<p>a2enmod is only to be used if the rewrite_module is not enabled in httpd.conf</p>
<p>Check for the &#8220;<strong>AllowOverride</strong>&#8221; settings. It should be set to &#8220;<strong>All</strong>&#8220;. By default it will be &#8220;<strong>None</strong>&#8221;</p>
<p>Things should work fine after this. Also I found a small good script to check at this URL to see whether mod_rewrite is enabled or not http://www.webune.com/forums/how-to-test-check-if-mod-rewrite-is-enabled-t40.html</p>
<p>Good Luck guys!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2009/12/enabling-mod_rewrite-in-apache-2-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Suhosin Values</title>
		<link>http://www.supportsages.com/blog/2009/12/magento-suhosin-values/</link>
		<comments>http://www.supportsages.com/blog/2009/12/magento-suhosin-values/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 22:29:52 +0000</pubDate>
		<dc:creator>nash</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[magento]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=583</guid>
		<description><![CDATA[Known .htaccess and php.ini values to override suhosin restrictions for proper working of Magento]]></description>
			<content:encoded><![CDATA[<p>Sometimes Magento admins face the issue of some values missing from the frontend even though the configuration would have shown to be saved from Backend. This could be due the limit in the number of values set by suhosin.</p>
<p>The common override for this issue is to have the following values set in .htaccess</p>
<p>php_value suhosin.mail.protect 0<br />
php_value suhosin.memory_limit 128M<br />
php_value suhosin.post.max_vars 5000<br />
php_value suhosin.post.max_value_length 500000<br />
php_value suhosin.request.max_vars 5000<br />
php_value suhosin.request.max_value_length 500000<br />
php_flag suhosin.session.cryptua off</p>
<p>For php.ini use the variables without php_value or php_flag</p>
]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2009/12/magento-suhosin-values/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to redirect non ssl (http links) traffic to SSL (https links)</title>
		<link>http://www.supportsages.com/blog/2009/12/how-to-redirect-non-ssl-http-links-traffic-to-ssl-https-links/</link>
		<comments>http://www.supportsages.com/blog/2009/12/how-to-redirect-non-ssl-http-links-traffic-to-ssl-https-links/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 20:33:20 +0000</pubDate>
		<dc:creator>George</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.supportsages.com/blog/?p=581</guid>
		<description><![CDATA[Our Level I techs often gets tickets like how to make http:// or http://www. redirect to https:// or https://www. Often the answer is simple, but for the newbies and yours use, I am putting it here. 

First requirement is to have an SSL certificate installed. Add the following lines in a .htaccess file:


<blockquote>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}</blockquote>

I assume when you directly access https://www.domainname.com , the site loads fine.
]]></description>
			<content:encoded><![CDATA[<p>Our Level I techs often gets tickets like how to make http:// or http://www. redirect to https:// or https://www. Often the answer is simple, but for the newbies and yours use, I am putting it here. </p>
<p>First requirement is to have an SSL certificate installed. Add the following lines in a .htaccess file:</p>
<blockquote><p>
RewriteEngine On<br />
RewriteCond %{HTTPS} off<br />
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}</p></blockquote>
<p>I assume when you directly access https://www.domainname.com , the site loads fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.supportsages.com/blog/2009/12/how-to-redirect-non-ssl-http-links-traffic-to-ssl-https-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
