How To | Host a Website On Your Own Home Computer
In as Few Words as Possible:
Yes, your computer can be a webserver! You can do this with just about any computer. Like an old laptop, your current main computer, or even a raspberry pi! This is how you would do it on a Windows machine.
- Install XAMPP
- Start Apache and MySQL services
- Download the .zip folder of Wordpress
- In XAMPP, click Explorer
- Unzip Wordpress into the htdocs folder
WordPress is now installed
- IN FILE EXPLORER: navigate to the WordPress installation
- Open "wp-config-sample.php" and scroll to the following lines.
- Change the database ('database_name_here') name to match that of your database you created
- Change the username to "root"
- Change the password to nothing. ex: [""]
- Save as a new file, removing the "sample". "wp-config.php"
- Open a web browser
- Navigate to localhost in the URL
- Open PHPmyAdmin
- Make a new database for the WordPress website
The WordPress site is now ready.
- In your Web Browser, navigate to "LocalHost" once again.
- You should now see your WordPress Template.
Happy Blogging!
If you have any questions please feel free to ask in the comment section.