<?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>Exploring The Internet &#187; Hostmonster</title> <atom:link href="http://www.learningwp.com/tag/hostmonster/feed" rel="self" type="application/rss+xml" /><link>http://www.learningwp.com</link> <description>Exploring the web - Growing my experience toward my online business</description> <lastBuildDate>Tue, 20 Sep 2011 20:51:09 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0</generator> <item><title>How to Rename a Folder Without Much Downtime in Your CPanel?</title><link>http://www.learningwp.com/rename-folder-without-much-downtime-cpanel.html</link> <comments>http://www.learningwp.com/rename-folder-without-much-downtime-cpanel.html#comments</comments> <pubDate>Wed, 05 Aug 2009 21:12:56 +0000</pubDate> <dc:creator>Lanna</dc:creator> <category><![CDATA[Blogging Tips]]></category> <category><![CDATA[Domain]]></category> <category><![CDATA[How to]]></category> <category><![CDATA[WordPress Tips]]></category> <category><![CDATA[404 not found error]]></category> <category><![CDATA[cpanel]]></category> <category><![CDATA[database tutorial]]></category> <category><![CDATA[database wizard]]></category> <category><![CDATA[downtime]]></category> <category><![CDATA[Hostmonster]]></category> <category><![CDATA[mysql database]]></category> <category><![CDATA[phpMyAdmin]]></category> <category><![CDATA[rename a folder]]></category><guid isPermaLink="false">http://www.learningwp.com/?p=711</guid> <description><![CDATA[Recently I had to rename a fold from my server&#8217;s cPanel due to the reason that the domain used to be there had been transferred. Now the name of that folder does not reflect the new domain&#8217;s content. I just want a more appropriate name for that folder so I will not be confused either. [...]]]></description> <content:encoded><![CDATA[<p>Recently I had to rename a fold from my server&#8217;s <em>cPanel</em> due to the reason that the domain used to be there had been transferred. Now the name of that folder does not reflect the new domain&#8217;s content. I just want a more appropriate name for that folder so I will not be confused either. However, it just would not allow me to directly rename it from the server. Every time when I attempted to change that folder&#8217;s name to something else. It would bring down that website. All I got is this</p><p>&#8220;<strong>Not Found<br /> The requested URL /index.php was not found on this server.</strong></p><p><strong>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.</strong></p><p><strong>&#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;&#8211;</strong></p><p><strong>Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8k DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.mycoolonlinestores.com Port 80</strong>&#8220;.</p><p>I searched the <em>Internet</em> for a solution. Here is the way of how I&#8217;ve got it to work. I am sure someone may be interested in this. So why not writing down these steps of how I&#8217;ve solved this problem? By the way, the name of the folder I&#8217;ve tried to change is associated with a self-hosted <em>WordPress</em> site. And the <em>cPanel</em> is associated with <a onmouseover="window.status='http://www.hostmonster.com';return true;" onmouseout="window.status=' ';return true;" rel="nofollow" href="http://www.kqzyfj.com/click-2893050-10422157" target="_blank">Hostmonster</a>&#8216;s <em>cPanel</em>.</p><ul><li>First download all the files within that folder to your local computer. I use <a title="How to Set Up FTP to Transfer Files?" href="http://meaningfulblog.blogspot.com/2008/03/how-to-set-up-ftp-to-transfer-files.html" target="_blank">FTP</a> to get the job done.</li></ul><ul><li>Next create a new folder in your server with whatever name you&#8217;ve preferred and upload those files that you&#8217;ve downloaded earlier to this new folder.</li></ul><ul><li>Next log in to your <em>cPanel</em> and click on <em>phpMyadmin</em>. A new window would pop up. It will allow you to export (backup) your database. See <a title="Back Up Database" href="http://www.tamba2.org.uk/wordpress/backup/" target="_blank">details</a> here. Don&#8217;t close this window, you&#8217;ll need it later.</li></ul><ul><li>Now go back to your cPanel. Click on <em>MySQL ® Databases</em> <span style="color: #cc66cc;">or</span> <em>MySQL ® Database Wizard</em> to create a new database. See this <a title="How to Create a New Database?" href="http://www.siteground.com/tutorials/php-mysql/mysql_database_user.htm" target="_blank">tutorial</a> here. Remember its user name and password.</li></ul><ul><li>Then open your database you&#8217;ve backuped earlier with <em>Notepad</em> editor. Hit <em>Ctrl</em> and <em>F</em> at the same time to bring up a search box. Type in <span style="color: #cc66cc;">Database</span> and replace old database name with the new one. Also type in <span style="color: #cc66cc;">public_html</span> and replace old folder name with the new one. Make sure you save it in your new database name.</li></ul><ul><li>Now go back to <em>phpMyadmin</em> window. The one I told you earlier not to close it. Click on <em>Import</em> to upload your amended database.</li></ul><ul><li>Then open <span style="color: #cc66cc;">wp-config.php</span> (should be in the root directory of your new folder). Edit and upload it back to the same place. See details below:<br /><table style="width: 460px; height: 30px; border: 1px solid #cccccc;" cellspacing="0" cellpadding="0" align="center"><tbody><tr><td style="background-color: #dddddd; width: 460px;"><p style="margin: 5pt 15pt; text-align: left;"><code>define('DB_NAME', '<span style="color: #cc66cc;">databasename</span>'); // Change <span style="color: #cc66cc;">databasename</span> to be your new database name<br /> define('DB_PASSWORD', '<span style="color: #cc66cc;">mysqlpassword</span>'); // Change <span style="color: #cc66cc;">mysqlpassword</span> to be your new MYSQL password<br /> define('DB_USER', '<span style="color: #cc66cc;">mysqlusername</span>'); // Change <span style="color: #cc66cc;">mysqlusername</span> to be your new MySQL username<br /> define('DB_HOST', 'localhost'); // Leave the way it is.</code></p></td></tr></tbody></table></li></ul><ul><li>Since the domain is assigned to the old folder, there is no way that you can assign it to the new folder. However, you need to click on <em>Domain Manager</em> in your <em>cPanel</em>. Once you are there,  tick that domain. On your right side, scroll down to un-assign that domain to your <em>cPanel</em>. Quickly, during this time your website will be down.</li></ul><ul><li>Finally go back to <em>cPanel</em> and click on <em>Addon Domains</em>. A new page will open, assign that domain to your new folder and hit <em>Add Domain</em> button. See details below:<br /><table style="width: 460px; height: 30px; border: 1px solid #cccccc;" cellspacing="0" cellpadding="0" align="center"><tbody><tr><td style="background-color: #dddddd; width: 460px;"><p style="margin: 5pt 15pt; text-align: left;">Step 1 Tick next to &#8220;Use a domain that is already associated with your account&#8221;. Scroll down to find it.</p><p style="margin: 5pt 15pt; text-align: justify;">Step 2 Leave it alone.</p><p style="margin: 5pt 15pt; text-align: justify;">Step 3 Tick next to &#8220;Addon Domain&#8221;.</p><p style="margin: 5pt 15pt; text-align: justify;">Step 4 Tick next to &#8220;Use an existing directory&#8221;. And below &#8220;Sub-domain:&#8221; type in your new folder&#8217;s name.</p></td></tr></tbody></table></li></ul><p>Now type your website&#8217;s url in your browser. If everything works fine, you should be able to see your website up and running again. Some people might have different approach. Feel free to talk about yours here in comment section. Any other feedback is welcome too.</p><p><div style="float:left;width:100%;margin-right:1%;height:150px;"><a rel="nofollow" href="http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&toolid=10005&campid=5336190399&customid=oracle+database&icep_item=180772390195&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=rss">OCA: Oracle Database 11g Administrator Certified Associate Study Guide, Thomas</a><br /><table border="0" cellpadding="8"><tr><td><a href="http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&toolid=10005&campid=5336190399&customid=oracle+database&icep_item=180772390195&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=rss"><img border="0" src="http://thumbs.ebaystatic.com/pict/180772390195_0.jpg"></a></td><td><strong>US &#36;91.69</strong><br /> End Date: Tuesday Feb-07-2012 3:10:39 PST<br />Buy It Now for only: US &#36;91.69<br /><a href="http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&toolid=10005&campid=5336190399&customid=oracle+database&icep_item=180772390195&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=rss">Buy it now</a> | <a href="http://rover.ebay.com/rover/1/711-53200-19255-0/1?ff3=4&toolid=10005&campid=5336190399&customid=oracle+database&mpre=http%3A%2F%2Fcgi1.ebay.com%2Fws%2FeBayISAPI.dll%3FMfcISAPICommand%3DMakeTrack%26item%3D180772390195%26ssPageName%3DRSS%3AB%3ASRCH%3AUS%3A104">Add to watch list</a></td></tr></table></div><div style="float:left;width:100%;margin-right:1%;height:150px;"><a rel="nofollow" href="http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&toolid=10005&campid=5336190399&customid=oracle+database&icep_item=320826117617&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=rss">ORACLE DATABASE 10G PL/SQL 101 - CHRISTOPHER ALLEN (PAPERBACK) NEW</a><br /><table border="0" cellpadding="8"><tr><td><a href="http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&toolid=10005&campid=5336190399&customid=oracle+database&icep_item=320826117617&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=rss"><img border="0" src="http://thumbs.ebaystatic.com/pict/320826117617_0.jpg"></a></td><td><strong>US &#36;37.95</strong><br /> End Date: Tuesday Feb-07-2012 3:16:10 PST<br />Buy It Now for only: US &#36;37.95<br /><a href="http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&toolid=10005&campid=5336190399&customid=oracle+database&icep_item=320826117617&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=rss">Buy it now</a> | <a href="http://rover.ebay.com/rover/1/711-53200-19255-0/1?ff3=4&toolid=10005&campid=5336190399&customid=oracle+database&mpre=http%3A%2F%2Fcgi1.ebay.com%2Fws%2FeBayISAPI.dll%3FMfcISAPICommand%3DMakeTrack%26item%3D320826117617%26ssPageName%3DRSS%3AB%3ASRCH%3AUS%3A104">Add to watch list</a></td></tr></table></div></p><div class="sociable"><div class="sociable_tagline"> <strong>Share and Enjoy:</strong></div><ul><li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.learningwp.com%2Frename-folder-without-much-downtime-cpanel.html&amp;title=How%20to%20Rename%20a%20Folder%20Without%20Much%20Downtime%20in%20Your%20CPanel%3F&amp;bodytext=Recently%20I%20had%20to%20rename%20a%20fold%20from%20my%20server%27s%20cPanel%20due%20to%20the%20reason%20that%20the%20domain%20used%20to%20be%20there%20had%20been%20transferred.%20Now%20the%20name%20of%20that%20folder%20does%20not%20reflect%20the%20new%20domain%27s%20content.%20I%20just%20want%20a%20more%20appropriate%20name%20for%20that%20folde" title="Digg"><img src="http://www.learningwp.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li><li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.learningwp.com%2Frename-folder-without-much-downtime-cpanel.html&amp;title=How%20to%20Rename%20a%20Folder%20Without%20Much%20Downtime%20in%20Your%20CPanel%3F&amp;notes=Recently%20I%20had%20to%20rename%20a%20fold%20from%20my%20server%27s%20cPanel%20due%20to%20the%20reason%20that%20the%20domain%20used%20to%20be%20there%20had%20been%20transferred.%20Now%20the%20name%20of%20that%20folder%20does%20not%20reflect%20the%20new%20domain%27s%20content.%20I%20just%20want%20a%20more%20appropriate%20name%20for%20that%20folde" title="del.icio.us"><img src="http://www.learningwp.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li><li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.learningwp.com%2Frename-folder-without-much-downtime-cpanel.html&amp;t=How%20to%20Rename%20a%20Folder%20Without%20Much%20Downtime%20in%20Your%20CPanel%3F" title="Facebook"><img src="http://www.learningwp.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li><li><a rel="nofollow"  target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.learningwp.com%2Frename-folder-without-much-downtime-cpanel.html&amp;h=How%20to%20Rename%20a%20Folder%20Without%20Much%20Downtime%20in%20Your%20CPanel%3F" title="NewsVine"><img src="http://www.learningwp.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" class="sociable-hovers" /></a></li><li><a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.learningwp.com%2Frename-folder-without-much-downtime-cpanel.html&amp;title=How%20to%20Rename%20a%20Folder%20Without%20Much%20Downtime%20in%20Your%20CPanel%3F" title="Reddit"><img src="http://www.learningwp.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li><li><a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.learningwp.com%2Frename-folder-without-much-downtime-cpanel.html&amp;title=How%20to%20Rename%20a%20Folder%20Without%20Much%20Downtime%20in%20Your%20CPanel%3F" title="StumbleUpon"><img src="http://www.learningwp.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li><li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.learningwp.com%2Frename-folder-without-much-downtime-cpanel.html&amp;title=How%20to%20Rename%20a%20Folder%20Without%20Much%20Downtime%20in%20Your%20CPanel%3F&amp;annotation=Recently%20I%20had%20to%20rename%20a%20fold%20from%20my%20server%27s%20cPanel%20due%20to%20the%20reason%20that%20the%20domain%20used%20to%20be%20there%20had%20been%20transferred.%20Now%20the%20name%20of%20that%20folder%20does%20not%20reflect%20the%20new%20domain%27s%20content.%20I%20just%20want%20a%20more%20appropriate%20name%20for%20that%20folde" title="Google Bookmarks"><img src="http://www.learningwp.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li><li><a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.learningwp.com%2Frename-folder-without-much-downtime-cpanel.html&amp;submitHeadline=How%20to%20Rename%20a%20Folder%20Without%20Much%20Downtime%20in%20Your%20CPanel%3F&amp;submitSummary=Recently%20I%20had%20to%20rename%20a%20fold%20from%20my%20server%27s%20cPanel%20due%20to%20the%20reason%20that%20the%20domain%20used%20to%20be%20there%20had%20been%20transferred.%20Now%20the%20name%20of%20that%20folder%20does%20not%20reflect%20the%20new%20domain%27s%20content.%20I%20just%20want%20a%20more%20appropriate%20name%20for%20that%20folde&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.learningwp.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></li><li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=How%20to%20Rename%20a%20Folder%20Without%20Much%20Downtime%20in%20Your%20CPanel%3F%20-%20http%3A%2F%2Fwww.learningwp.com%2Frename-folder-without-much-downtime-cpanel.html" title="Twitter"><img src="http://www.learningwp.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li><li><a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.learningwp.com%2Frename-folder-without-much-downtime-cpanel.html" title="Technorati"><img src="http://www.learningwp.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a></li><li><a rel="nofollow"  target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.learningwp.com%2Frename-folder-without-much-downtime-cpanel.html&amp;title=How%20to%20Rename%20a%20Folder%20Without%20Much%20Downtime%20in%20Your%20CPanel%3F" title="Live"><img src="http://www.learningwp.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" class="sociable-hovers" /></a></li><li><a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.learningwp.com%2Frename-folder-without-much-downtime-cpanel.html&amp;title=How%20to%20Rename%20a%20Folder%20Without%20Much%20Downtime%20in%20Your%20CPanel%3F&amp;source=Exploring+The+Internet+Exploring+the+web+-+Growing+my+experience+toward+my+online+business&amp;summary=Recently%20I%20had%20to%20rename%20a%20fold%20from%20my%20server%27s%20cPanel%20due%20to%20the%20reason%20that%20the%20domain%20used%20to%20be%20there%20had%20been%20transferred.%20Now%20the%20name%20of%20that%20folder%20does%20not%20reflect%20the%20new%20domain%27s%20content.%20I%20just%20want%20a%20more%20appropriate%20name%20for%20that%20folde" title="LinkedIn"><img src="http://www.learningwp.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li><li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.learningwp.com%2Frename-folder-without-much-downtime-cpanel.html&amp;t=How%20to%20Rename%20a%20Folder%20Without%20Much%20Downtime%20in%20Your%20CPanel%3F" title="MySpace"><img src="http://www.learningwp.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a></li></ul></div> ]]></content:encoded> <wfw:commentRss>http://www.learningwp.com/rename-folder-without-much-downtime-cpanel.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)

Served from: www.learningwp.com @ 2012-02-07 10:17:33 -->
