<?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>WordPress Installation | Student Projects</title>
	<atom:link href="https://studentprojects.in/category/software-development/wordpress/wordpress-installation/feed/" rel="self" type="application/rss+xml" />
	<link>https://studentprojects.in</link>
	<description>Microcontroller projects, Circuit Diagrams, Project Ideas</description>
	<lastBuildDate>Sun, 11 Dec 2022 04:47:42 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.7</generator>
	<item>
		<title>How to move WordPress site to a new server or a new domain using SSH</title>
		<link>https://studentprojects.in/software-development/wordpress/wordpress-installation/how-to-move-wordpress-site-to-a-new-server-or-a-new-domain-using-ssh/</link>
					<comments>https://studentprojects.in/software-development/wordpress/wordpress-installation/how-to-move-wordpress-site-to-a-new-server-or-a-new-domain-using-ssh/#respond</comments>
		
		<dc:creator><![CDATA[Ranjith Kadamboor]]></dc:creator>
		<pubDate>Mon, 30 May 2022 13:41:37 +0000</pubDate>
				<category><![CDATA[WordPress Installation]]></category>
		<category><![CDATA[Migrate website suing SSH]]></category>
		<category><![CDATA[local host to server migration]]></category>
		<category><![CDATA[Export database through SSH]]></category>
		<category><![CDATA[move wordpress]]></category>
		<category><![CDATA[Move domain]]></category>
		<guid isPermaLink="false">https://studentprojects.in/?p=9333</guid>

					<description><![CDATA[<p>Here is a Step by step procedure&#160;to move a WordPress site from&#160;one server to another&#160;server or&#160;from localhost to server. You can also move the complete website setup from&#160;one domain name to another. Here I will explain how to move the website using SSH. If you do not have SSH access then you can try using</p>
<p>The post <a href="https://studentprojects.in/software-development/wordpress/wordpress-installation/how-to-move-wordpress-site-to-a-new-server-or-a-new-domain-using-ssh/">How to move WordPress site to a new server or a new domain using SSH</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Here is a <strong>Step by step procedure</strong>&nbsp;to move a WordPress site from&nbsp;<strong>one server to another</strong>&nbsp;<strong>server</strong> or<strong>&nbsp;from localhost to server</strong>. You can also move the complete website setup from&nbsp;<strong>one domain name to another</strong>.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" width="960" height="440" src="https://studentprojects.in/wp-content/uploads/2022/05/Move-wordpress-website-ssh.jpg" alt="" class="wp-image-9334" srcset="https://studentprojects.in/wp-content/uploads/2022/05/Move-wordpress-website-ssh.jpg 960w, https://studentprojects.in/wp-content/uploads/2022/05/Move-wordpress-website-ssh-300x138.jpg 300w, https://studentprojects.in/wp-content/uploads/2022/05/Move-wordpress-website-ssh-768x352.jpg 768w" sizes="(max-width: 960px) 100vw, 960px" /></figure></div>


<p>Here I will explain how to move the website using SSH. If you do not have SSH access then you can try using cPanel and phpMyAdmin. <a href="https://studentprojects.in/qa/wordpress/move-wordpress-site-new-host-domain/">Click here to read How to move WordPress site to a new server or a new domain using cPanel and phpMyAdmin.</a></p>



<p><strong>Assumptions</strong></p>



<p><strong>Server 1</strong>: Current server where WordPress is set up. This can be your local host also.<br><strong>Server 2</strong>: The server where you want to move the website.</p>



<p><strong>Follow the below steps.</strong> </p>



<h2>1. Server 1: Export database</h2>



<p>To export the database, first find out the name of the database. Login to server 1 SSH. </p>



<pre class="wp-block-code"><code lang="bash" class="language-bash">$ ssh username@websitename.com
$ // When prompted for a password, enter it.
$ // Go to the root folder of the website. 
$ // public_html or /var/www/html/websitename.com
$ cd public_html
$ vi wp-config.php</code></pre>



<p>Here you can find the database name as shown below. </p>



<pre class="wp-block-code"><code lang="php" class="language-php">/** The name of the database for WordPress */
define( 'DB_NAME', 'database_name_here' );</code></pre>



<p>Now dump the database into a file.</p>



<pre class="wp-block-code"><code lang="bash" class="language-bash">$ mysqldump -u username -p database_name > db_backup.sql</code></pre>



<p></p>



<h2>2. Server 1: Compress the website files</h2>



<p>We&#8217;ll compress the entire website from the root folder(public_html) to make moving the files easier. Use the tar command to compress the files. Below given command will create a compressed file and can be accessed using the URL https://websitename.com/website.tar.gz</p>



<pre class="wp-block-code"><code lang="bash" class="language-bash">$ tar -cvzf website.tar.gz ./</code></pre>



<p></p>



<h2>3. Server 2: Import Database</h2>



<p>Login to Server 2 SSH and enter the below-given command to create and import the database.</p>



<pre class="wp-block-code"><code lang="bash" class="language-bash">$ mysql -u username -p
$ // When prompted for a password, enter it.

mysql> create database database_name;
Query OK, 1 row affected (0.00 sec)

mysql> exit

$ mysql -u username -p database_name &lt; members.sql</code></pre>



<p> </p>



<h2>4. Server 2: Download the website files</h2>



<p>Download the website zip file created on server 1 to server 2.  Login to server 2 and go to the website root folder. </p>



<pre class="wp-block-code"><code lang="bash" class="language-bash">$ cd public_html
$ wget https://websitename.com/website.tar.gz
$ tar -xvzf website.tar.gz
$ vi wp-config.php</code></pre>



<p>Edit the wp-config.php file and update the database and user details.</p>



<pre class="wp-block-code"><code lang="php" class="language-php">/** The name of the database for WordPress */
define( 'DB_NAME', 'database_name_here' );

/** Database username */
define( 'DB_USER', 'username_here' );

/** Database password */
define( 'DB_PASSWORD', 'password_here' );

/** Database hostname */
define( 'DB_HOST', 'localhost' );</code></pre>



<p></p>



<h2>5. Update the DNS records</h2>



<p>Now you have moved the database and all the website files from one server to another. Now is the time to point the domain to the new server. </p>



<p>Login to the domain control panel and go to DNS or name server settings. Point the DNS of your domain name to the new hosting server. Usually, it will take 12-24 hours to update the records. </p>



<h2>6. Browse the website and enjoy! </h2>



<p><span style="font-size: revert; color: initial;">You are done with all the tasks. Open the URL on the browser and check if the website opens properly. </span>Still, your domain may point to the old server and open the website properly. To check whether the website loaded from the old server or the new server, you use the ping command on the command prompt and check the IP. You can also rename the index.php file of the old server and check if the website loads properly. </p>



<p>Just drop a comment if you get any problems while moving the website. I will be happy to assist you. </p><p>The post <a href="https://studentprojects.in/software-development/wordpress/wordpress-installation/how-to-move-wordpress-site-to-a-new-server-or-a-new-domain-using-ssh/">How to move WordPress site to a new server or a new domain using SSH</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://studentprojects.in/software-development/wordpress/wordpress-installation/how-to-move-wordpress-site-to-a-new-server-or-a-new-domain-using-ssh/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install WordPress on Linux via SSH command line</title>
		<link>https://studentprojects.in/software-development/wordpress/wordpress-installation/how-to-install-wordpress-on-linux-via-ssh-command-line/</link>
					<comments>https://studentprojects.in/software-development/wordpress/wordpress-installation/how-to-install-wordpress-on-linux-via-ssh-command-line/#respond</comments>
		
		<dc:creator><![CDATA[Ranjith Kadamboor]]></dc:creator>
		<pubDate>Fri, 18 Mar 2022 09:01:56 +0000</pubDate>
				<category><![CDATA[WordPress Installation]]></category>
		<category><![CDATA[Setup database]]></category>
		<category><![CDATA[Install wordpress]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[linux]]></category>
		<guid isPermaLink="false">https://studentprojects.in/?p=8815</guid>

					<description><![CDATA[<p>WordPress can be installed using web hosting control panels such as cPanel or Plesk. Typically, these control panels offer a one-click installation option. If you don&#8217;t have that choice, continue reading. This article explains how to manually install WordPress on any Linux server or a dedicated server that does not have a control panel installed.</p>
<p>The post <a href="https://studentprojects.in/software-development/wordpress/wordpress-installation/how-to-install-wordpress-on-linux-via-ssh-command-line/">How to install WordPress on Linux via SSH command line</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>WordPress can be installed using web hosting control panels such as cPanel or Plesk. Typically, these control panels offer a one-click installation option. If you don&#8217;t have that choice, continue reading. </p>



<p>This article explains how to manually install WordPress on any Linux server or a dedicated server that does not have a control panel installed.</p>



<h3>Prerequisites</h3>



<ol><li><strong>Access to an linux server with a sudo user<br></strong>To complete the WordPress installation on a linux server, we need a user login with sudo privileges. </li><li><strong>LAMP Stack<br></strong>In order for WordPress to work properly, it will require a web server, a database, and PHP. All of these needs are met by installing a LAMP stack (Linux, Apache, MySQL, and PHP). To install and configure this programme, follow the steps in this guide.</li></ol>



<p>It&#8217;s quite simple to set up WordPress. It consists of the following steps:</p>



<ol><li>Connect to your server via SSH</li><li>Download and unzip the most recent WordPress files.</li><li>Create a database and set it up.</li><li>Install the WordPress</li></ol>



<p>Let&#8217;s take each step one at a time.</p>



<h3>1. Connect to your server</h3>



<p>I&#8217;ll show you how to connect to the server with PuTTY or SSH in this section. You may be unable to log in via SSH on some servers because of server restrictions. In that case, check out this article on how to <a href="https://codesdoc.com/documents/install-wordpress-in-cpanel-using-ftp/">install WordPress in cPanel using FTP</a>.</p>



<p><strong>Connect to your server using PuTTY</strong></p>



<p>Open PuTTY and type your domain name in the Hostname (or IP address) box, as well as the SSH port number in the Port box, and then click Open.</p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img decoding="async" loading="lazy" width="572" height="549" src="https://studentprojects.in/wp-content/uploads/2022/03/PuttyConnection.png" alt="" class="wp-image-8820" srcset="https://studentprojects.in/wp-content/uploads/2022/03/PuttyConnection.png 572w, https://studentprojects.in/wp-content/uploads/2022/03/PuttyConnection-300x288.png 300w" sizes="(max-width: 572px) 100vw, 572px" /><figcaption>Connect to the server using PuTTY</figcaption></figure></div>



<p>PuTTY will now prompt you for your login. Enter your username, followed by your password. For security reasons, you won&#8217;t see your password being typed on the screen while you&#8217;re inputting it. After you&#8217;ve typed your password and pressed Enter, you&#8217;ll be logged in. If there is a security alert, accept it.</p>



<p><strong>Connect to your server using SSH</strong></p>



<p>To&nbsp;connect&nbsp;to&nbsp;your&nbsp;site&#8217;s&nbsp;command-line&nbsp;using&nbsp;SSH,&nbsp;use&nbsp;the&nbsp;following&nbsp;command&nbsp;in&nbsp;your&nbsp;Terminal&nbsp;client:</p>



<pre class="wp-block-code"><code lang="bash" class="language-bash">ssh username@domain.com -p 22</code></pre>



<p>Change port number 22 according to your server configuration. You can omit -p and 22 in the command if your host permits SSH on default port 22. If&nbsp;you&nbsp;run&nbsp;into&nbsp;a&nbsp;problem, &#8220;<strong>port 22: no matching host key type found. Their offer: ssh-dss</strong>&#8220;, you should add the option -oHostKeyAlgorithms=+ssh-dss to the SSH command:</p>



<pre class="wp-block-code"><code lang="bash" class="language-bash">ssh -oHostKeyAlgorithms=+ssh-dss username@domain.com</code></pre>



<p></p>



<h3>2. Download and unzip the most recent WordPress files.</h3>



<p>So now you have logged into the SSH server, you need to navigate to the correct directory where you will install WordPress. This depends on the server configuration. It can be the public_html folder or /var/www/yourdomain.com folder. Then download and extract the WordPress files there.  </p>



<pre class="wp-block-code"><code lang="bash" class="language-bash">cd public_html/</code></pre>



<p>Download the latest WordPress zip file using wget command.</p>



<pre class="wp-block-code"><code lang="bash" class="language-bash">wget https://wordpress.org/latest.zip
unzip latest.zip</code></pre>



<p>All of the unzipped files will be found in the wordpress folder. Move all of the files from wordpress to the current directory.</p>



<pre class="wp-block-code"><code lang="bash" class="language-bash">mv wordpress/* ./</code></pre>



<p>Remove latest.zip and empty wordpress directory.</p>



<pre class="wp-block-code"><code lang="bash" class="language-bash">rm -rf latest.zip
rmdir wordpress</code></pre>



<p>Finally, the WordPress files should resemble the image below.</p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img decoding="async" loading="lazy" width="604" height="416" src="https://studentprojects.in/wp-content/uploads/2022/03/WordpressFiles.png" alt="" class="wp-image-8821" srcset="https://studentprojects.in/wp-content/uploads/2022/03/WordpressFiles.png 604w, https://studentprojects.in/wp-content/uploads/2022/03/WordpressFiles-300x207.png 300w" sizes="(max-width: 604px) 100vw, 604px" /><figcaption>WordPress files</figcaption></figure></div>



<h3>3. Create a database and set it up.</h3>



<p>Let&#8217;s make a new MySQL database, user and grant all the privileges.</p>



<p>To&nbsp;begin,&nbsp;use&nbsp;the&nbsp;following&nbsp;command&nbsp;to&nbsp;log&nbsp;into&nbsp;the&nbsp;MySQL&nbsp;command&nbsp;line:</p>



<pre class="wp-block-code"><code lang="bash" class="language-bash">mysql -u username -p</code></pre>



<p>After that, you&#8217;ll be prompted for your MySQL password. When you enter your password, you&#8217;ll see something like this:</p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img decoding="async" loading="lazy" width="715" height="263" src="https://studentprojects.in/wp-content/uploads/2022/03/mysql.png" alt="" class="wp-image-8822" srcset="https://studentprojects.in/wp-content/uploads/2022/03/mysql.png 715w, https://studentprojects.in/wp-content/uploads/2022/03/mysql-300x110.png 300w" sizes="(max-width: 715px) 100vw, 715px" /><figcaption>MySQL logged in successfully</figcaption></figure></div>



<p>If there is no password and the username is set to default, then simply type MySQL command.</p>



<p>Once you are successfully logged into MySQL Server, create a database, new user and then provide the user access to the database. Execute the following commands:</p>



<pre class="wp-block-code"><code lang="bash" class="language-bash">create database databasename;
grant usage on *.* to username@localhost identified by 'password';
grant all privileges on databasename.* to username@localhost;</code></pre>



<p>Make sure you provide a proper database name, user name and a strong password. Note it down somewhere to use it later.  </p>



<h3>4. Install the WordPress</h3>



<p>Open the website URL on the browser, which will take you to the installation wizard. Follow the below-given steps to install WordPress.&nbsp;</p>



<figure class="wp-block-image size-full"><img decoding="async" loading="lazy" width="827" height="657" src="https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-1.png" alt="" class="wp-image-8823" srcset="https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-1.png 827w, https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-1-300x238.png 300w, https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-1-768x610.png 768w" sizes="(max-width: 827px) 100vw, 827px" /><figcaption>Select the language and continue</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" loading="lazy" width="828" height="611" src="https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-2.png" alt="" class="wp-image-8824" srcset="https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-2.png 828w, https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-2-300x221.png 300w, https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-2-768x567.png 768w" sizes="(max-width: 828px) 100vw, 828px" /><figcaption>We have everything handy! Let’s start the WordPress installation</figcaption></figure>



<p>On the next step, enter the database name, username and password which you have noted down while creating it. Click on the Submit button.&nbsp;The database host and table prefix can remain unchanged.</p>



<figure class="wp-block-image size-full"><img decoding="async" loading="lazy" width="826" height="567" src="https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-3.png" alt="" class="wp-image-8825" srcset="https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-3.png 826w, https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-3-300x206.png 300w, https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-3-768x527.png 768w" sizes="(max-width: 826px) 100vw, 826px" /><figcaption>Provide the details for installation</figcaption></figure>



<p>If you don&#8217;t have write access to create a file in the install directory, you&#8217;ll get the following error. Then, in the install directory, create a wp-config.php file and paste the given text in it.</p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img decoding="async" loading="lazy" width="759" height="538" src="https://studentprojects.in/wp-content/uploads/2022/03/Wordpress_install_guide2.png" alt="" class="wp-image-8826" srcset="https://studentprojects.in/wp-content/uploads/2022/03/Wordpress_install_guide2.png 759w, https://studentprojects.in/wp-content/uploads/2022/03/Wordpress_install_guide2-300x213.png 300w" sizes="(max-width: 759px) 100vw, 759px" /><figcaption>wp-config.php permission error</figcaption></figure></div>



<p>The database connection has now been established. Provide the Website title, a username and a strong password, email id. For security reasons, don’t use admin as a username.</p>



<figure class="wp-block-image size-full"><img decoding="async" loading="lazy" width="827" height="643" src="https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-4.png" alt="" class="wp-image-8827" srcset="https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-4.png 827w, https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-4-300x233.png 300w, https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-4-768x597.png 768w" sizes="(max-width: 827px) 100vw, 827px" /><figcaption>Configure WordPress</figcaption></figure>



<p>After a successful installation, the success message should show.</p>



<figure class="wp-block-image size-full"><img decoding="async" loading="lazy" width="821" height="449" src="https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-5.png" alt="" class="wp-image-8828" srcset="https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-5.png 821w, https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-5-300x164.png 300w, https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-5-768x420.png 768w" sizes="(max-width: 821px) 100vw, 821px" /><figcaption>WordPress installed successfully</figcaption></figure>



<p>Click on the login button or open the URL http://yourdomain.com/wp-admin to access the WordPress admin panel. Enter the provided username and password, click the login button. </p>



<figure class="wp-block-image size-full"><img decoding="async" loading="lazy" width="827" height="495" src="https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-6.png" alt="" class="wp-image-8829" srcset="https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-6.png 827w, https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-6-300x180.png 300w, https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-6-768x460.png 768w" sizes="(max-width: 827px) 100vw, 827px" /><figcaption>WordPress Login page</figcaption></figure>



<p>This will open the WordPress dashboard.&nbsp;This is your backend dashboard or admin panel, from where you would control everything.</p>



<figure class="wp-block-image size-large"><img decoding="async" loading="lazy" width="1024" height="451" src="https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-7-1024x451.png" alt="" class="wp-image-8830" srcset="https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-7-1024x451.png 1024w, https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-7-300x132.png 300w, https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-7-768x338.png 768w, https://studentprojects.in/wp-content/uploads/2022/03/Wordpress-Setup-on-Server-7.png 1358w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>WordPress Control Panel</figcaption></figure>



<p>Now is the time to visit your local website. Open http://yourdomain.com</p>



<figure class="wp-block-image size-large"><img decoding="async" loading="lazy" width="1024" height="571" src="https://studentprojects.in/wp-content/uploads/2022/03/Testing-Wordpress-installation-1024x571.png" alt="" class="wp-image-8831" srcset="https://studentprojects.in/wp-content/uploads/2022/03/Testing-Wordpress-installation-1024x571.png 1024w, https://studentprojects.in/wp-content/uploads/2022/03/Testing-Wordpress-installation-300x167.png 300w, https://studentprojects.in/wp-content/uploads/2022/03/Testing-Wordpress-installation-768x428.png 768w, https://studentprojects.in/wp-content/uploads/2022/03/Testing-Wordpress-installation.png 1108w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Your website homepage</figcaption></figure>



<p>Quickly try to post some test content, install any plugin to see if everything works fine. If there is any permission error while installing the plugin run the following command from the install directory.</p>



<pre class="wp-block-code"><code class="">chown -R www-data:www-data *</code></pre>



<p>Congratulations! You have successfully installed WordPress. Let me know if you have any questions in the comments section below. I’ll be happy to assist you!</p><p>The post <a href="https://studentprojects.in/software-development/wordpress/wordpress-installation/how-to-install-wordpress-on-linux-via-ssh-command-line/">How to install WordPress on Linux via SSH command line</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://studentprojects.in/software-development/wordpress/wordpress-installation/how-to-install-wordpress-on-linux-via-ssh-command-line/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install WordPress on Server using cPanel and FTP</title>
		<link>https://studentprojects.in/software-development/wordpress/wordpress-installation/how-to-install-wordpress-on-server-using-cpanel-and-ftp/</link>
					<comments>https://studentprojects.in/software-development/wordpress/wordpress-installation/how-to-install-wordpress-on-server-using-cpanel-and-ftp/#respond</comments>
		
		<dc:creator><![CDATA[Ranjith Kadamboor]]></dc:creator>
		<pubDate>Fri, 18 Mar 2022 05:39:27 +0000</pubDate>
				<category><![CDATA[WordPress Installation]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[Install wordpress]]></category>
		<category><![CDATA[MySQL]]></category>
		<guid isPermaLink="false">https://studentprojects.in/?p=8817</guid>

					<description><![CDATA[<p>The majority of hosting servers&#8217; cPanels have a one-click install button for WordPress. Don&#8217;t worry if you don&#8217;t have a choice. It&#8217;s quite simple to set up. It consists of the following steps: Download the most recent WordPress files Connect to your server and upload the files Create a database and set it up. Install</p>
<p>The post <a href="https://studentprojects.in/software-development/wordpress/wordpress-installation/how-to-install-wordpress-on-server-using-cpanel-and-ftp/">How to install WordPress on Server using cPanel and FTP</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></description>
										<content:encoded><![CDATA[<div class="wp-block-image"><figure class="aligncenter size-full"><img decoding="async" loading="lazy" width="900" height="456" src="https://studentprojects.in/wp-content/uploads/2022/03/Install-Wordpress-in-cPanel.jpg" alt="" class="wp-image-9262" srcset="https://studentprojects.in/wp-content/uploads/2022/03/Install-Wordpress-in-cPanel.jpg 900w, https://studentprojects.in/wp-content/uploads/2022/03/Install-Wordpress-in-cPanel-300x152.jpg 300w, https://studentprojects.in/wp-content/uploads/2022/03/Install-Wordpress-in-cPanel-768x389.jpg 768w" sizes="(max-width: 900px) 100vw, 900px" /></figure></div>



<p>The majority of hosting servers&#8217; cPanels have a one-click install button for WordPress. Don&#8217;t worry if you don&#8217;t have a choice. It&#8217;s quite simple to set up. It consists of the following steps:</p>



<ol><li>Download the most recent WordPress files</li><li>Connect to your server and upload the files</li><li>Create a database and set it up.</li><li>Install the WordPress</li></ol>



<p>Let&#8217;s get this party started right away.</p>



<h3>1. Download the most recent WordPress files</h3>



<p>You must first download WordPress from its official download page to begin the installation procedure. Always download the most recent version of WordPress from the official website.</p>



<p>Open the URL <a href="https://wordpress.org/download/#download-install" target="_blank" rel="noreferrer noopener">https://wordpress.org/download/#download-install</a> and download the WordPress zip file. Unzip and keep it ready for the next step.</p>



<h3>2. Connect to your server and upload the files</h3>



<p>You must now upload all of the files from the WordPress folder to your site hosting account. The files can be uploaded to the server in two ways. You can connect using any FTP client or use the File Manager in cPanel.</p>



<p><strong>2.1 Upload files using FTP client</strong></p>



<p>Download and install any FTP client on your PC to upload WordPress files to your web server. FileZilla is a good option.&nbsp;Download FileZilla from the <a href="https://filezilla-project.org/download.php?platform=win64" target="_blank" rel="noreferrer noopener">official website</a>.</p>



<p>To connect to your website, launch an FTP client and enter your Host name, FTP username, FTP password, and Port.</p>



<div class="wp-block-image"><figure class="aligncenter size-full"><img decoding="async" loading="lazy" width="750" height="576" src="https://studentprojects.in/wp-content/uploads/2022/05/Filezilla_connection.png" alt="" class="wp-image-9260" srcset="https://studentprojects.in/wp-content/uploads/2022/05/Filezilla_connection.png 750w, https://studentprojects.in/wp-content/uploads/2022/05/Filezilla_connection-300x230.png 300w" sizes="(max-width: 750px) 100vw, 750px" /><figcaption>FileZilla Connection</figcaption></figure></div>



<p>You should be able to see the folders on the right side after a successful connection. Navigate to the public_html folder.</p>



<p>First, decide where you want WordPress to be installed. To install it on the root directory, upload the extracted files from the wordpress folder to the public_html folder. You can also create a directory called blog and upload the files to that directory. It should look something like this picture.</p>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://codesdoc.com/wp-content/uploads/2021/06/Filezilla1.png" alt="" class="wp-image-227"/></figure></div>



<p><strong>2.2 Upload files using cPanel File Manager</strong></p>



<p>Login to your cPanel and click on &#8216;File Manager&#8217; option.</p>



<p>To install WordPress on your root domain, such as codesdoc.com, go to the public_html folder. To install WordPress on a subdomain such as codesdoc.com/blog, create a &#8216;blog&#8217; directory under public_html folder and go to that directory.</p>



<p>Upload the wordpress zip file to this selected folder and extract file files. Finally it should look like this.</p>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://codesdoc.com/wp-content/uploads/2021/06/FileManager.png" alt="" class="wp-image-228"/><figcaption>cPanel File Manager</figcaption></figure></div>



<h3>3. Create a database and set it up.</h3>



<p>Let&#8217;s make a new MySQL database, user and grant all the privileges.</p>



<p>To&nbsp;begin, navigate to &#8216;MySQL Databases&#8217; on cPanel. Enter the database name and click on create Database. Here first part of the database name is fixed based on the panel username. Note down the full database name once successfully created.&nbsp;</p>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://codesdoc.com/wp-content/uploads/2021/06/Wordpress_install_cPanel1.png" alt="" class="wp-image-229"/></figure></div>



<p>On the same page there will be an option to create a user. Enter username and password. Click on the Create user button. Note down the username and password once successfully created.</p>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://codesdoc.com/wp-content/uploads/2021/06/Wordpress_install_cPanel2.png" alt="" class="wp-image-230"/></figure></div>



<p>At this point newuser has no permissions to do anything with the databases. So grant all the privileges to the newly created users. Under Add user to database section, select user name and database, click on the add button.</p>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://codesdoc.com/wp-content/uploads/2021/06/Wordpress_install_cPanel3.png" alt="" class="wp-image-231"/></figure></div>



<p>On the next page, click on All Privileges tick mark. This will grant all the privileges to the user.</p>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://codesdoc.com/wp-content/uploads/2021/06/Wordpress_install_cPanel4.png" alt="" class="wp-image-232"/></figure></div>



<p>You are done with the database and user setup.</p>



<h3>4. Install the WordPress</h3>



<p>Open the website URL on the browser, which will take you to the installation page. Enter all the details like database name, username, password. The database host and table prefix can remain unchanged.</p>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://codesdoc.com/wp-content/uploads/2021/06/Wordpress_install_guide1.png" alt="" class="wp-image-220"/></figure></div>



<p>If you don&#8217;t have write access to create a file in the install directory, you&#8217;ll get the following error. Then, in the install directory, create a wp-config.php file and paste the given text in it.</p>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://codesdoc.com/wp-content/uploads/2021/06/Wordpress_install_guide2.png" alt="" class="wp-image-221"/></figure></div>



<p>The database connection has now been established. Provide the title of the site, as well as the username, password, and email address.</p>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://codesdoc.com/wp-content/uploads/2021/06/Wordpress_install_guide3.png" alt="" class="wp-image-222"/></figure></div>



<p>WordPress installation is completed successfully. Use the URL http://yourdomain.com/wp-admin to access the WordPress admin panel.</p>



<p>To log in, use the username and password provided.</p>



<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" src="https://codesdoc.com/wp-content/uploads/2021/06/Wordpress_install_guide5.png" alt="" class="wp-image-224"/></figure></div>



<p>Congratulations! You have successfully installed WordPress. If you have any problems installing WordPress, please leave a comment below.</p><p>The post <a href="https://studentprojects.in/software-development/wordpress/wordpress-installation/how-to-install-wordpress-on-server-using-cpanel-and-ftp/">How to install WordPress on Server using cPanel and FTP</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://studentprojects.in/software-development/wordpress/wordpress-installation/how-to-install-wordpress-on-server-using-cpanel-and-ftp/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install WordPress on your Windows localhost Using XAMPP(4 Steps)</title>
		<link>https://studentprojects.in/software-development/wordpress/wordpress-installation/how-to-setup-wordpress-on-windows-localhost-xampp/</link>
					<comments>https://studentprojects.in/software-development/wordpress/wordpress-installation/how-to-setup-wordpress-on-windows-localhost-xampp/#respond</comments>
		
		<dc:creator><![CDATA[Ranjith Kadamboor]]></dc:creator>
		<pubDate>Wed, 16 Mar 2022 10:39:23 +0000</pubDate>
				<category><![CDATA[WordPress Installation]]></category>
		<category><![CDATA[localhost]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[Step by step guide]]></category>
		<category><![CDATA[phpMyAdmin]]></category>
		<category><![CDATA[XAMPP]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[apache server]]></category>
		<guid isPermaLink="false">http://studentprojects.in/?p=1196</guid>

					<description><![CDATA[<p>To build a complete website you need to buy a domain name and a server to host your website files. But if you don&#8217;t want to launch your website right away and want to set it up completely before going live, set up everything locally. Why you should install WordPress on localhost? When you set</p>
<p>The post <a href="https://studentprojects.in/software-development/wordpress/wordpress-installation/how-to-setup-wordpress-on-windows-localhost-xampp/">How to Install WordPress on your Windows localhost Using XAMPP(4 Steps)</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></description>
										<content:encoded><![CDATA[<div class="wp-block-image"><figure class="aligncenter"><img decoding="async" loading="lazy" width="745" height="372" src="https://studentprojects.in/wp-content/uploads/2011/01/Install_wordpress_in_Localhost.png" alt="" class="wp-image-8769" srcset="https://studentprojects.in/wp-content/uploads/2011/01/Install_wordpress_in_Localhost.png 745w, https://studentprojects.in/wp-content/uploads/2011/01/Install_wordpress_in_Localhost-300x150.png 300w" sizes="(max-width: 745px) 100vw, 745px" /></figure></div>



<p>To build a complete website you need to buy a domain name and a server to host your website files. But if you don&#8217;t want to launch your website right away and want to set it up completely before going live, set up everything locally.</p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe loading="lazy" title="How to Install WordPress on Windows localhost Using XAMPP for beginners" width="640" height="360" src="https://www.youtube.com/embed/6jxZN4YXc0k?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div></figure>



<h3>Why you should install WordPress on localhost?</h3>



<p>When you set up WordPress locally, all the files will be stored on your local computer, and this means only you will be able to access your website. This is a great way for you to learn, making a website for free of cost. Also, this gives you a great testing environment that doesn’t affect your live website.</p>



<h3>Step 1 &#8211; Download and install XAMPP server on your PC</h3>



<p>To install WordPress, you need an Apache web server, PHP and MySQL database. All are separate open-source software and installing this software one by one will be a difficult job for beginners. This is where XAMPP comes into the picture. &nbsp;XAMPP is an easy to install Apache distribution containing Apache web server, PHP and MySQL bundled together.&nbsp;</p>



<p>Download XAMPP from <a href="https://www.apachefriends.org/index.html" target="_blank" rel="noopener">XAMPP&#8217;s official website</a>. Select your operating system and click on the download button.</p>



<div class="wp-block-image wp-image-8770 size-full"><figure class="aligncenter"><img decoding="async" loading="lazy" width="800" height="479" src="https://studentprojects.in/wp-content/uploads/2011/01/XAMPP-Setup.jpg" alt="Download XAMPP from XAMPP's official website" class="wp-image-8770" srcset="https://studentprojects.in/wp-content/uploads/2011/01/XAMPP-Setup.jpg 800w, https://studentprojects.in/wp-content/uploads/2011/01/XAMPP-Setup-300x180.jpg 300w, https://studentprojects.in/wp-content/uploads/2011/01/XAMPP-Setup-768x460.jpg 768w" sizes="(max-width: 800px) 100vw, 800px" /><figcaption>Download XAMPP from XAMPP&#8217;s official website.</figcaption></figure></div>



<p>Wait a few moments after hitting the download button. Because the file is around 150 MB in size, it will take some time to download. After downloading the file, double click the executable file and follow the installation process.&nbsp;</p>



<div class="wp-block-image size-full wp-image-8774"><figure class="aligncenter"><img decoding="async" loading="lazy" width="502" height="425" src="https://studentprojects.in/wp-content/uploads/2011/01/01-Xampp-setup-on-Windows.png" alt="Xampp setup on Windows" class="wp-image-8774" srcset="https://studentprojects.in/wp-content/uploads/2011/01/01-Xampp-setup-on-Windows.png 502w, https://studentprojects.in/wp-content/uploads/2011/01/01-Xampp-setup-on-Windows-300x254.png 300w" sizes="(max-width: 502px) 100vw, 502px" /><figcaption>XAMPP serve setup on Windows</figcaption></figure></div>



<p>Click on the Next button.</p>



<div class="wp-block-image size-full wp-image-8775"><figure class="aligncenter"><img decoding="async" loading="lazy" width="502" height="425" src="https://studentprojects.in/wp-content/uploads/2011/01/02-Xampp-server-setup-on-Windows.png" alt="Xampp server setup on Windows" class="wp-image-8775" srcset="https://studentprojects.in/wp-content/uploads/2011/01/02-Xampp-server-setup-on-Windows.png 502w, https://studentprojects.in/wp-content/uploads/2011/01/02-Xampp-server-setup-on-Windows-300x254.png 300w" sizes="(max-width: 502px) 100vw, 502px" /><figcaption>Select the required components to install</figcaption></figure></div>



<p>On this screen, some of the checkboxes will already be checked. It is enough to select Apache, MySQL, PHP and phpMyAdmin and click on the Next button. On the next screen, select the path where you want to install the XAMPP server. You can leave it as default c:\xampp. Click on the Next button.</p>



<div class="wp-block-image size-full wp-image-8776"><figure class="aligncenter"><img decoding="async" loading="lazy" width="502" height="425" src="https://studentprojects.in/wp-content/uploads/2011/01/03-Xampp-installation-on-Windows.png" alt="Xampp installation on Windows" class="wp-image-8776" srcset="https://studentprojects.in/wp-content/uploads/2011/01/03-Xampp-installation-on-Windows.png 502w, https://studentprojects.in/wp-content/uploads/2011/01/03-Xampp-installation-on-Windows-300x254.png 300w" sizes="(max-width: 502px) 100vw, 502px" /><figcaption>Xampp installation is in progress</figcaption></figure></div>



<div class="wp-block-image size-full wp-image-8795"><figure class="aligncenter"><img decoding="async" loading="lazy" width="502" height="425" src="https://studentprojects.in/wp-content/uploads/2011/01/Start-Xampp-server.png" alt="Start Xampp server" class="wp-image-8795" srcset="https://studentprojects.in/wp-content/uploads/2011/01/Start-Xampp-server.png 502w, https://studentprojects.in/wp-content/uploads/2011/01/Start-Xampp-server-300x254.png 300w" sizes="(max-width: 502px) 100vw, 502px" /><figcaption>Remove the tick mark and click the finish button</figcaption></figure></div>



<p>Once the installation is complete, remove the tick mark &#8220;Do you want to start the control panel now?&#8221; and click on the Finish button. We have to run the XAMPP control panel as administrators.</p>



<h3>Step 2 &#8211; Run the XAMPP server and test it</h3>



<p>Once the XAMPP installation is complete, you will need to run XAMPP as an administrator on Windows. To do that, click Start, find XAMPP Control Panel in your Programs list, then right-click and select Run As Administrator. Another option is to go to C:/xampp where you have installed the XAMPP server, run xampp_start.exe as administrator.</p>



<div class="wp-block-image size-full wp-image-8777"><figure class="aligncenter"><img decoding="async" loading="lazy" width="824" height="687" src="https://studentprojects.in/wp-content/uploads/2011/01/04-Run-xampp-as-administrator.png" alt="Run xampp as administrator" class="wp-image-8777" srcset="https://studentprojects.in/wp-content/uploads/2011/01/04-Run-xampp-as-administrator.png 824w, https://studentprojects.in/wp-content/uploads/2011/01/04-Run-xampp-as-administrator-300x250.png 300w, https://studentprojects.in/wp-content/uploads/2011/01/04-Run-xampp-as-administrator-768x640.png 768w" sizes="(max-width: 824px) 100vw, 824px" /><figcaption>Run XAMPP as administrator</figcaption></figure></div>



<p>This will launch the XAMPP Control Panel.</p>



<div class="wp-block-image size-full wp-image-8778"><figure class="aligncenter"><img decoding="async" loading="lazy" width="668" height="434" src="https://studentprojects.in/wp-content/uploads/2011/01/05-Run-Apache-and-MySql-server-on-windows-xampp.png" alt="Run Apache and MySql server on windows xampp" class="wp-image-8778" srcset="https://studentprojects.in/wp-content/uploads/2011/01/05-Run-Apache-and-MySql-server-on-windows-xampp.png 668w, https://studentprojects.in/wp-content/uploads/2011/01/05-Run-Apache-and-MySql-server-on-windows-xampp-300x195.png 300w" sizes="(max-width: 668px) 100vw, 668px" /><figcaption>XAMPP Control Panel</figcaption></figure></div>



<p>First, run Apache and MySQL services on the left side in the Control panel. Observe the green tick mark. This will register the Apache and MySQL server as service and it will start the server on every system reboot. Now click on the Start button for both Apache and MySQL which should look like the below image.&nbsp;&nbsp;You can track the green running status near to it.</p>



<div class="wp-block-image size-full wp-image-8779"><figure class="aligncenter"><img decoding="async" loading="lazy" width="668" height="434" src="https://studentprojects.in/wp-content/uploads/2011/01/06-Configure-Apache-and-MySql-server-on-localhost.png" alt="Configure Apache and MySql server on localhost" class="wp-image-8779" srcset="https://studentprojects.in/wp-content/uploads/2011/01/06-Configure-Apache-and-MySql-server-on-localhost.png 668w, https://studentprojects.in/wp-content/uploads/2011/01/06-Configure-Apache-and-MySql-server-on-localhost-300x195.png 300w" sizes="(max-width: 668px) 100vw, 668px" /><figcaption>Start Apache &amp; MySQL in the XAMPP Control Panel</figcaption></figure></div>



<p>Now is the time to test the XAMPP server. Open http://localhost, if everything is good then it should open the page like the below image.&nbsp;</p>



<div class="wp-block-image size-full wp-image-8780"><figure class="aligncenter"><img decoding="async" loading="lazy" width="1074" height="658" src="https://studentprojects.in/wp-content/uploads/2011/01/07-Testing-XAMPP-on-localhost.png" alt="Testing XAMPP on localhost" class="wp-image-8780" srcset="https://studentprojects.in/wp-content/uploads/2011/01/07-Testing-XAMPP-on-localhost.png 1074w, https://studentprojects.in/wp-content/uploads/2011/01/07-Testing-XAMPP-on-localhost-300x184.png 300w, https://studentprojects.in/wp-content/uploads/2011/01/07-Testing-XAMPP-on-localhost-1024x627.png 1024w, https://studentprojects.in/wp-content/uploads/2011/01/07-Testing-XAMPP-on-localhost-768x471.png 768w" sizes="(max-width: 1074px) 100vw, 1074px" /><figcaption>Testing XAMPP on localhost</figcaption></figure></div>



<h3>Step 3 &#8211; Download the latest WordPress Version</h3>



<p>The next step is to get the most recent version of WordPress from the WordPress.org website. It will be downloaded in a zip format. Open to <a href="https://wordpress.org/download/" target="_blank" rel="noreferrer noopener">https://wordpress.org/download</a> and click on Download WordPress. </p>



<div class="wp-block-image size-full wp-image-8781"><figure class="aligncenter"><img decoding="async" loading="lazy" width="595" height="270" src="https://studentprojects.in/wp-content/uploads/2011/01/08-Download-Wordpress-to-localhost.png" alt="Download WordPress to localhost" class="wp-image-8781" srcset="https://studentprojects.in/wp-content/uploads/2011/01/08-Download-Wordpress-to-localhost.png 595w, https://studentprojects.in/wp-content/uploads/2011/01/08-Download-Wordpress-to-localhost-300x136.png 300w" sizes="(max-width: 595px) 100vw, 595px" /><figcaption>Download WordPress to localhost</figcaption></figure></div>



<p>This will download a zip file. Extract the files to C:/xampp/htdocs folder as shown below. You are free to change the folder name from wordpress to anything else. </p>



<div class="wp-block-image size-full wp-image-8782"><figure class="aligncenter"><img decoding="async" loading="lazy" width="829" height="337" src="https://studentprojects.in/wp-content/uploads/2011/01/09-Copy-wordpress-to-htdocs-folder.png" alt="copy wordpress to htdocs folder" class="wp-image-8782" srcset="https://studentprojects.in/wp-content/uploads/2011/01/09-Copy-wordpress-to-htdocs-folder.png 829w, https://studentprojects.in/wp-content/uploads/2011/01/09-Copy-wordpress-to-htdocs-folder-300x122.png 300w, https://studentprojects.in/wp-content/uploads/2011/01/09-Copy-wordpress-to-htdocs-folder-768x312.png 768w" sizes="(max-width: 829px) 100vw, 829px" /><figcaption>Copy WordPress files to htdocs folder</figcaption></figure></div>



<h3>Step 4 &#8211; Create a Database</h3>



<p>WordPress uses a database to store the text contents. We will create a MySQL database using the phpMyAdmin tool. Open http://localhost/phpmyadmin to launch phpMyAdmin. </p>



<div class="wp-block-image size-full wp-image-8783"><figure class="aligncenter"><img decoding="async" loading="lazy" width="1073" height="476" src="https://studentprojects.in/wp-content/uploads/2011/01/10-phpmyadmin-setup-on-localhost.png" alt="phpmyadmin setup on localhost" class="wp-image-8783" srcset="https://studentprojects.in/wp-content/uploads/2011/01/10-phpmyadmin-setup-on-localhost.png 1073w, https://studentprojects.in/wp-content/uploads/2011/01/10-phpmyadmin-setup-on-localhost-300x133.png 300w, https://studentprojects.in/wp-content/uploads/2011/01/10-phpmyadmin-setup-on-localhost-1024x454.png 1024w, https://studentprojects.in/wp-content/uploads/2011/01/10-phpmyadmin-setup-on-localhost-768x341.png 768w" sizes="(max-width: 1073px) 100vw, 1073px" /><figcaption>PHPMyAdmin setup on localhost</figcaption></figure></div>



<p>Click on the tab Databases, enter the database name and click on create button. This will create a database.&nbsp;You can name the database whatever you want.</p>



<h3>Step 4 &#8211; Install WordPress on Localhost</h3>



<p>We have set up the server and a database. Now is the time to install WordPress. Open http://localhost/wordpress on your browser. This will redirect to the WordPress installation wizard. Follow the below-given steps to install WordPress.&nbsp;</p>



<div class="wp-block-image size-full wp-image-8784"><figure class="aligncenter"><img decoding="async" loading="lazy" width="828" height="737" src="https://studentprojects.in/wp-content/uploads/2011/01/11-install-wordpress-on-localhost.png" alt="install wordpress on localhost" class="wp-image-8784" srcset="https://studentprojects.in/wp-content/uploads/2011/01/11-install-wordpress-on-localhost.png 828w, https://studentprojects.in/wp-content/uploads/2011/01/11-install-wordpress-on-localhost-300x267.png 300w, https://studentprojects.in/wp-content/uploads/2011/01/11-install-wordpress-on-localhost-768x684.png 768w" sizes="(max-width: 828px) 100vw, 828px" /><figcaption>Select the language on this installation step</figcaption></figure></div>



<div class="wp-block-image size-full wp-image-8785"><figure class="aligncenter"><img decoding="async" loading="lazy" width="828" height="694" src="https://studentprojects.in/wp-content/uploads/2011/01/12-Setup-wordpress-on-localhost.png" alt="Setup wordpress on localhost" class="wp-image-8785" srcset="https://studentprojects.in/wp-content/uploads/2011/01/12-Setup-wordpress-on-localhost.png 828w, https://studentprojects.in/wp-content/uploads/2011/01/12-Setup-wordpress-on-localhost-300x251.png 300w, https://studentprojects.in/wp-content/uploads/2011/01/12-Setup-wordpress-on-localhost-768x644.png 768w" sizes="(max-width: 828px) 100vw, 828px" /><figcaption>We have everything handy! Let&#8217;s start the WordPress installation</figcaption></figure></div>



<p>On the next step, enter the database name(it is &#8220;wordpress&#8221; in our case), root as username, leave the password blank as we have not set any password for root user. Click on the Submit button.&nbsp;</p>



<div class="wp-block-image size-full wp-image-8786"><figure class="aligncenter"><img decoding="async" loading="lazy" width="828" height="649" src="https://studentprojects.in/wp-content/uploads/2011/01/13-configure-wordpress-database.png" alt="configure wordpress database" class="wp-image-8786" srcset="https://studentprojects.in/wp-content/uploads/2011/01/13-configure-wordpress-database.png 828w, https://studentprojects.in/wp-content/uploads/2011/01/13-configure-wordpress-database-300x235.png 300w, https://studentprojects.in/wp-content/uploads/2011/01/13-configure-wordpress-database-768x602.png 768w" sizes="(max-width: 828px) 100vw, 828px" /><figcaption>Provide the database details for installation</figcaption></figure></div>



<div class="wp-block-image size-full wp-image-8787"><figure class="aligncenter"><img decoding="async" loading="lazy" width="821" height="398" src="https://studentprojects.in/wp-content/uploads/2011/01/14-Run-wordpress-installation.png" alt="Run wordpress installation" class="wp-image-8787" srcset="https://studentprojects.in/wp-content/uploads/2011/01/14-Run-wordpress-installation.png 821w, https://studentprojects.in/wp-content/uploads/2011/01/14-Run-wordpress-installation-300x145.png 300w, https://studentprojects.in/wp-content/uploads/2011/01/14-Run-wordpress-installation-768x372.png 768w" sizes="(max-width: 821px) 100vw, 821px" /><figcaption>Run WordPress installation</figcaption></figure></div>



<p>Provide the Website title, a username and a strong password, email id. For security reasons, don&#8217;t use admin as a username. </p>



<div class="wp-block-image size-full wp-image-8788"><figure class="aligncenter"><img decoding="async" loading="lazy" width="828" height="722" src="https://studentprojects.in/wp-content/uploads/2011/01/15-configure-wordpress.png" alt="configure wordpress" class="wp-image-8788" srcset="https://studentprojects.in/wp-content/uploads/2011/01/15-configure-wordpress.png 828w, https://studentprojects.in/wp-content/uploads/2011/01/15-configure-wordpress-300x262.png 300w, https://studentprojects.in/wp-content/uploads/2011/01/15-configure-wordpress-768x670.png 768w" sizes="(max-width: 828px) 100vw, 828px" /><figcaption>configure WordPress</figcaption></figure></div>



<p>After a successful installation, the success message should show.</p>



<div class="wp-block-image size-full wp-image-8789"><figure class="aligncenter"><img decoding="async" loading="lazy" width="821" height="529" src="https://studentprojects.in/wp-content/uploads/2011/01/16-Wordpress-installation-success.png" alt=" WordPress installation success" class="wp-image-8789" srcset="https://studentprojects.in/wp-content/uploads/2011/01/16-Wordpress-installation-success.png 821w, https://studentprojects.in/wp-content/uploads/2011/01/16-Wordpress-installation-success-300x193.png 300w, https://studentprojects.in/wp-content/uploads/2011/01/16-Wordpress-installation-success-768x495.png 768w" sizes="(max-width: 821px) 100vw, 821px" /><figcaption>WordPress installation success</figcaption></figure></div>



<p>Click on the login button or open the URL http://localhost/wp-admin to log in. Enter the provided username and password, click the login button. </p>



<div class="wp-block-image size-full wp-image-8790"><figure class="aligncenter"><img decoding="async" loading="lazy" width="828" height="577" src="https://studentprojects.in/wp-content/uploads/2011/01/17-Wordpress-login.png" alt="Wordpress login" class="wp-image-8790" srcset="https://studentprojects.in/wp-content/uploads/2011/01/17-Wordpress-login.png 828w, https://studentprojects.in/wp-content/uploads/2011/01/17-Wordpress-login-300x209.png 300w, https://studentprojects.in/wp-content/uploads/2011/01/17-Wordpress-login-768x535.png 768w" sizes="(max-width: 828px) 100vw, 828px" /><figcaption>WordPress login</figcaption></figure></div>



<p>This will open the WordPress dashboard.&nbsp;This is your backend dashboard or admin panel, from where you would control everything. </p>



<div class="wp-block-image size-full wp-image-8791"><figure class="aligncenter"><img decoding="async" loading="lazy" width="1358" height="667" src="https://studentprojects.in/wp-content/uploads/2011/01/18-wordpress-installation-success.png" alt="wordpress installation success" class="wp-image-8791" srcset="https://studentprojects.in/wp-content/uploads/2011/01/18-wordpress-installation-success.png 1358w, https://studentprojects.in/wp-content/uploads/2011/01/18-wordpress-installation-success-300x147.png 300w, https://studentprojects.in/wp-content/uploads/2011/01/18-wordpress-installation-success-1024x503.png 1024w, https://studentprojects.in/wp-content/uploads/2011/01/18-wordpress-installation-success-768x377.png 768w" sizes="(max-width: 1358px) 100vw, 1358px" /><figcaption>WordPress installation success</figcaption></figure></div>



<p>Now is the time to visit your local website. Open http://localhost/wordpress</p>



<figure class="wp-block-image size-large"><img decoding="async" loading="lazy" width="1024" height="541" src="https://studentprojects.in/wp-content/uploads/2022/03/20-Testing-Wordpress-installation-1024x541.png" alt="" class="wp-image-8802" srcset="https://studentprojects.in/wp-content/uploads/2022/03/20-Testing-Wordpress-installation-1024x541.png 1024w, https://studentprojects.in/wp-content/uploads/2022/03/20-Testing-Wordpress-installation-300x159.png 300w, https://studentprojects.in/wp-content/uploads/2022/03/20-Testing-Wordpress-installation-768x406.png 768w, https://studentprojects.in/wp-content/uploads/2022/03/20-Testing-Wordpress-installation.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>WordPress website frontend</figcaption></figure>



<p>So, give it a shot and let me know if you have any questions in the comments section below. I&#8217;ll be happy to assist you!</p>



<p></p><p>The post <a href="https://studentprojects.in/software-development/wordpress/wordpress-installation/how-to-setup-wordpress-on-windows-localhost-xampp/">How to Install WordPress on your Windows localhost Using XAMPP(4 Steps)</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://studentprojects.in/software-development/wordpress/wordpress-installation/how-to-setup-wordpress-on-windows-localhost-xampp/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to move WordPress site to a new server or a new domain without downtime?</title>
		<link>https://studentprojects.in/software-development/wordpress/wordpress-installation/move-wordpress-site-new-host-domain/</link>
					<comments>https://studentprojects.in/software-development/wordpress/wordpress-installation/move-wordpress-site-new-host-domain/#comments</comments>
		
		<dc:creator><![CDATA[Ranjith Kadamboor]]></dc:creator>
		<pubDate>Wed, 02 Mar 2011 14:16:17 +0000</pubDate>
				<category><![CDATA[WordPress Installation]]></category>
		<category><![CDATA[Migrate website]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[Export database]]></category>
		<category><![CDATA[wp migrate db]]></category>
		<category><![CDATA[phpMyAdmin]]></category>
		<category><![CDATA[once domain to another]]></category>
		<category><![CDATA[local host to server]]></category>
		<category><![CDATA[shift server]]></category>
		<category><![CDATA[move wordpress]]></category>
		<category><![CDATA[Move domain]]></category>
		<guid isPermaLink="false">http://studentprojects.in/?p=1481</guid>

					<description><![CDATA[<p>Here is a Step by step procedure&#160;to move a WordPress site from&#160;one server to another&#160;server or&#160;from localhost to server. You can also move the complete website setup from&#160;one domain name to another. If you have hosted your website on a dedicated server or cloud server and don&#8217;t have a cPanel and PHPMyAdmin access, then click</p>
<p>The post <a href="https://studentprojects.in/software-development/wordpress/wordpress-installation/move-wordpress-site-new-host-domain/">How to move WordPress site to a new server or a new domain without downtime?</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Here is a <strong>Step by step procedure</strong>&nbsp;to move a WordPress site from&nbsp;<strong>one server to another</strong>&nbsp;<strong>server</strong> or<strong>&nbsp;from localhost to server</strong>. You can also move the complete website setup from&nbsp;<strong>one domain name to another</strong>.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" loading="lazy" width="960" height="440" src="https://studentprojects.in/wp-content/uploads/2011/03/Move-wordpress-website.jpg" alt="" class="wp-image-9330" srcset="https://studentprojects.in/wp-content/uploads/2011/03/Move-wordpress-website.jpg 960w, https://studentprojects.in/wp-content/uploads/2011/03/Move-wordpress-website-300x138.jpg 300w, https://studentprojects.in/wp-content/uploads/2011/03/Move-wordpress-website-768x352.jpg 768w" sizes="(max-width: 960px) 100vw, 960px" /></figure></div>


<p>If you have hosted your website on a dedicated server or cloud server and don&#8217;t have a cPanel and PHPMyAdmin access, then click here to read How to move WordPress site to a new server or a new domain using SSH?</p>



<p><strong>Assumptions</strong></p>



<p><strong>Server 1</strong>: Current server where WordPress is set up. This can be your local host also.<br><strong>Server 2</strong>: The server where you want to move the website.</p>



<p><strong>Follow the below steps.</strong> </p>



<h2>1. Server 1: Export database</h2>



<p>We can use a simple plugin to export the WordPress database. Login to the WordPress control panel of <strong>server1</strong> and install the plugin &#8220;<strong>WP Migrate DB</strong>&#8220;</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" loading="lazy" width="560" height="302" src="https://studentprojects.in/wp-content/uploads/2011/03/Wp-Migrate-DB.jpg" alt="" class="wp-image-9269" srcset="https://studentprojects.in/wp-content/uploads/2011/03/Wp-Migrate-DB.jpg 560w, https://studentprojects.in/wp-content/uploads/2011/03/Wp-Migrate-DB-300x162.jpg 300w" sizes="(max-width: 560px) 100vw, 560px" /><figcaption>WP Migrate DB plugin</figcaption></figure></div>


<p>WP Migrate DB helps to export the WordPress database, does a find and replace on URLs and file paths, and then allows you to save it to your computer for free of cost.</p>



<p>Once the installation is completed, open Tools -&gt; WP Migrate -&gt; MIGRATE -&gt; Export database. </p>



<p>Here we have to update the domain name and website file path. </p>



<p>To move the website from one domain name to another or from localhost to the actual domain name, you need to fill Current address and new address. If there is no change in the domain name, then just leave it blank. </p>



<p>File-path is the complete file path of your server. You can get this file path on the cPanel. If you don&#8217;t know the full path, you can ignore this. </p>



<figure class="wp-block-image size-full"><img decoding="async" loading="lazy" width="726" height="356" src="https://studentprojects.in/wp-content/uploads/2011/03/Wp-Migrate.jpg" alt="" class="wp-image-9268" srcset="https://studentprojects.in/wp-content/uploads/2011/03/Wp-Migrate.jpg 726w, https://studentprojects.in/wp-content/uploads/2011/03/Wp-Migrate-300x147.jpg 300w" sizes="(max-width: 726px) 100vw, 726px" /></figure>



<p>Click Export Database to export the database. Download and keep it. </p>



<h2>2. Server 1: Download the website files</h2>



<p>Download complete website files from server1 using FTP or file manager. As there are multiple files, it is better to zip the files and download them as a single file. Login to cPanel and click on File Manager.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" loading="lazy" width="900" height="464" src="https://studentprojects.in/wp-content/uploads/2022/05/File-Manager-Wordpress.jpg" alt="" class="wp-image-9316" srcset="https://studentprojects.in/wp-content/uploads/2022/05/File-Manager-Wordpress.jpg 900w, https://studentprojects.in/wp-content/uploads/2022/05/File-Manager-Wordpress-300x155.jpg 300w, https://studentprojects.in/wp-content/uploads/2022/05/File-Manager-Wordpress-768x396.jpg 768w" sizes="(max-width: 900px) 100vw, 900px" /><figcaption>cPanel File Manager</figcaption></figure></div>


<p>Go to the public_html folder. Select all the files inside and click on the compress option on the right-click menu. Give a name and save it in the public_html folder. Now download the zip file.</p>



<p>Alternatively, you can download the files using any FTP application. </p>



<p>Now we have taken the complete back of WordPress files and database. </p>



<h2>3. Server 2: Import Database</h2>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" loading="lazy" width="914" height="248" src="https://studentprojects.in/wp-content/uploads/2022/05/cPanel-Database.jpg" alt="" class="wp-image-9317" srcset="https://studentprojects.in/wp-content/uploads/2022/05/cPanel-Database.jpg 914w, https://studentprojects.in/wp-content/uploads/2022/05/cPanel-Database-300x81.jpg 300w, https://studentprojects.in/wp-content/uploads/2022/05/cPanel-Database-768x208.jpg 768w" sizes="(max-width: 914px) 100vw, 914px" /><figcaption>Database section in cPanel</figcaption></figure></div>


<ul><li>Login to Server 2 cPanel</li><li>Create a new database<ul><li>Open MySQL Databases</li><li>Create a new MySQL database and note down the created database name</li><li>Create a new MySQL user</li><li>Add User To Database: Select the created user and database and click add. Provide all the permissions. </li></ul></li><li>Import the database<ul><li>Open phpMyAdmin</li><li>Select the database on the left-hand side</li><li>Click on Import</li><li>Chose file: Select the exported database dump downloaded from server 1</li><li>Click on the &#8216;Go&#8217; button.</li><li>Once the import is done, there will be a success message. </li></ul></li></ul>



<h2>4. Server 2: Upload the website files</h2>



<p>Upload the downloaded WordPress files zip file to the public_html folder of Server 2. You can upload using the FTP application or using File manager. </p>



<p>Login to server 2 cPanel and go to File Manager. Select the public_html folder. Upload the WordPress files zip file. Once the upload is done, unzip the files into the public_html folder. </p>



<p>Edit the wp-config.php file and update the database and user details which you have created and noted down. </p>



<pre class="wp-block-code"><code lang="php" class="language-php">/** The name of the database for WordPress */
define( 'DB_NAME', 'database_name_here' );

/** Database username */
define( 'DB_USER', 'username_here' );

/** Database password */
define( 'DB_PASSWORD', 'password_here' );

/** Database hostname */
define( 'DB_HOST', 'localhost' );</code></pre>



<p></p>



<h2>5. Update the DNS records</h2>



<p>Now you have moved the database and all the website files from one server to another. Now is the time to point the domain to the new server. </p>



<p>Login to the domain control panel and go to DNS or name server settings. Point the DNS of your domain name to the new hosting server. Usually, it will take 12-24 hours to update the records. </p>



<h2>6. Browse the website and enjoy! </h2>



<p><span style="font-size: revert; color: initial;">You are done with all the tasks. Open the URL on the browser and check if the website opens properly. </span>Still, your domain may point to the old server and open the website properly. To check whether the website loaded from the old server or the new server, you use the ping command on the command prompt and check the IP. You can also rename the index.php file of the old server and check if the website loads properly. </p>



<p>Just drop a comment if you get any problems while moving the website. I will be happy to assist you. </p><p>The post <a href="https://studentprojects.in/software-development/wordpress/wordpress-installation/move-wordpress-site-new-host-domain/">How to move WordPress site to a new server or a new domain without downtime?</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://studentprojects.in/software-development/wordpress/wordpress-installation/move-wordpress-site-new-host-domain/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
	</channel>
</rss>
