{"id":851,"date":"2018-10-16T14:30:00","date_gmt":"2018-10-16T21:30:00","guid":{"rendered":"https:\/\/blog.colterhicks.com\/2018\/10\/16\/how-to-host-a-website-on-your-own-home-computer\/"},"modified":"2025-09-14T23:13:40","modified_gmt":"2025-09-15T06:13:40","slug":"how-to-host-a-website-on-your-own-home-computer","status":"publish","type":"post","link":"https:\/\/blog.dabbleden.com\/index.php\/2018\/10\/16\/how-to-host-a-website-on-your-own-home-computer\/","title":{"rendered":"How To Host a Website On Your Own Home Computer"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">In as Few Words as Possible:<\/h2>\n\n\n\n<p>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.<a name=\"more\"><\/a><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Install <a href=\"https:\/\/www.apachefriends.org\/download.html\">XAMPP<\/a><\/li>\n\n\n\n<li>Start Apache and MySQL services<\/li>\n\n\n\n<li>Download the .zip folder of <a href=\"https:\/\/wordpress.org\/download\/\">WordPress<\/a><\/li>\n\n\n\n<li>In XAMPP, click Explorer<\/li>\n\n\n\n<li>Unzip WordPress into the htdocs folder<\/li>\n<\/ul>\n\n\n\n<p>WordPress is now installed<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>IN FILE EXPLORER: navigate to the WordPress&nbsp;installation<\/li>\n\n\n\n<li>Open &#8220;wp-config-sample.php&#8221; and scroll to the following lines.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"300\" src=\"http:\/\/blog.dabbleden.com\/wp-content\/uploads\/2018\/10\/6543c05215e37.webp\" alt=\"\" class=\"wp-image-550\" srcset=\"https:\/\/blog.dabbleden.com\/wp-content\/uploads\/2018\/10\/6543c05215e37.webp 500w, https:\/\/blog.dabbleden.com\/wp-content\/uploads\/2018\/10\/6543c05215e37-300x180.webp 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Change the database (&#8216;database_name_here&#8217;) name to match that of your database you created<\/li>\n\n\n\n<li>Change the username to &#8220;root&#8221;<\/li>\n\n\n\n<li>Change&nbsp;the password&nbsp;to nothing. ex: [&#8220;&#8221;]<\/li>\n\n\n\n<li>Save as a new file, removing the &#8220;sample&#8221;. &#8220;wp-config.php&#8221;<\/li>\n\n\n\n<li>Open a web browser<\/li>\n\n\n\n<li>Navigate to localhost in the URL<\/li>\n\n\n\n<li>Open PHPmyAdmin<\/li>\n\n\n\n<li>Make a new database for the WordPress&nbsp;website<\/li>\n<\/ul>\n\n\n\n<p>The WordPress site is now ready.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In your Web Browser, navigate to &#8220;LocalHost&#8221; once again.<\/li>\n\n\n\n<li>You should now see your WordPress Template.<\/li>\n<\/ul>\n\n\n\n<p>Happy Blogging!<\/p>\n\n\n\n<p>If you have any questions please feel free to ask in the comment section.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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.<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[17],"tags":[48],"class_list":["post-851","post","type-post","status-publish","format-standard","hentry","category-webservices","tag-websites"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blog.dabbleden.com\/index.php\/wp-json\/wp\/v2\/posts\/851","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.dabbleden.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.dabbleden.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.dabbleden.com\/index.php\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.dabbleden.com\/index.php\/wp-json\/wp\/v2\/comments?post=851"}],"version-history":[{"count":1,"href":"https:\/\/blog.dabbleden.com\/index.php\/wp-json\/wp\/v2\/posts\/851\/revisions"}],"predecessor-version":[{"id":4706,"href":"https:\/\/blog.dabbleden.com\/index.php\/wp-json\/wp\/v2\/posts\/851\/revisions\/4706"}],"wp:attachment":[{"href":"https:\/\/blog.dabbleden.com\/index.php\/wp-json\/wp\/v2\/media?parent=851"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.dabbleden.com\/index.php\/wp-json\/wp\/v2\/categories?post=851"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.dabbleden.com\/index.php\/wp-json\/wp\/v2\/tags?post=851"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}