{"id":157,"date":"2007-02-13T23:16:29","date_gmt":"2007-02-13T15:16:29","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/2007\/02\/13\/create-webserver-on-pc-the-fast-way\/"},"modified":"2022-07-22T19:29:09","modified_gmt":"2022-07-22T11:29:09","slug":"create-webserver-on-pc-the-fast-way","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/create-webserver-on-pc-the-fast-way\/","title":{"rendered":"How To Create Web Server On PC, The Fast Way"},"content":{"rendered":"<p>Every blogger should have a test site. I have 5, (3 online 2 offline\/localhost). Why test site, some may ask. Test sites allow you to put your website (whether it is a blog, forum, CMS, etc) to a test and experiment it locally (even if you are offline) with new plug-ins\/themes so you don\u2019t have to interrupt your on-running live site all the time.<\/p>\n<p><a href=\"#webserver-on-the-fly\">Click to skip<\/a> if you already know about Apache web server.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/localhost.jpg\"><\/p>\n<p><!--more--><\/p>\n<h2>A little background information..<\/h2>\n<p>How do you achieve test site on local PC and make sure it reacts exactly like your pay hosting? Before I start writing mine, I checked out <a href=\"https:\/\/www.wikihow.com\/Install-the-Apache-Web-Server-on-a-Windows-PC\">Wiki-How<\/a> just to make sure the end results of theirs and mine will still be the same.<\/p>\n<p>Wiki-How break the installation of web server into 4 parts, the installing of<\/p>\n<ul>\n<li><strong>Apache Webserver<\/strong><\/li>\n<li><strong>MYSQL<\/strong><\/li>\n<li><strong>PHP Engine<\/strong><\/li>\n<li><strong>PhpMyAdmin<\/strong><\/li>\n<\/ul>\n<p>A little intro for those who are unsure of that these are. I\u2019m trying my best not to sound too technical, so here goes. <strong>Apache<\/strong> webserver is the things that runs your dynamic website; You\u2019ll need <strong>MYSQL <\/strong>if your website keeps data\/record in database; <strong>PHP Engine<\/strong> lets you run PHP scripts on your webserver; <strong>PhpMyAdmin<\/strong> interact with MYSQL so you can update your database records.<\/p>\n<p>With the traditional way, these four components will have to be downloaded separately and configured and link properly if order to achieve \u201cLocalhost\u201d. That is tedious for novices.<\/p>\n<h2>Creating webserver on the fly<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/reactor01.gif\"><\/p>\n<p>First and foremost, download <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/sourceforge.net\/projects\/reactorsrv\/\">Reactor Server<\/a>. Reactor Server is a one-click-installation that will configure all these 4 components for you.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/reactor02.gif\" align=\"left\"><\/p>\n<p>Once the .exe if downloaded, double click to launch it. Keep hitting next until you reach the installation of files. Once installation\u2019s done, Reactor icon and folder (see left) will be created on your desktop. Double click on <strong>Reactor Server<\/strong> icon, click on <strong>Start Server<\/strong> and basically that\u2019s it! Your local webserver is up and running.<\/p>\n<p>Reactor Server comes with OpenSSL, Zend, PhpMyAdmin, Php-Nuke, Zina, Apache, PHP, Perl and MySQL preinstalled.<\/p>\n<p>By default, PHP-Nuke CMS will appear when you clicked Localhost or type http:\/\/localhost\/ in your browser. To remove PHP-Nuke, simply delete all files inside <strong>Desktop\\Reactor\\Core\\htdocs\\<\/strong>. Remember, whatever files you put inside \\htdocs will be accessible as web pages.<\/p>\n<p><strong>Example<\/strong> \\htdocs\\index.html = http:\/\/localhost\/index.html\n\\htdocs\\mywebpage\\index.php= http:\/\/localhost\/mywebpage\/index.php<\/p>","protected":false},"excerpt":{"rendered":"<p>Every blogger should have a test site. I have 5, (3 online 2 offline\/localhost). Why test site, some may ask. Test sites allow you to put your website (whether it is a blog, forum, CMS, etc) to a test and experiment it locally (even if you are offline) with new plug-ins\/themes so you don\u2019t have&hellip;<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3400],"tags":[4656],"topic":[4521],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How To Create Web Server On PC, The Fast Way - Hongkiat<\/title>\n<meta name=\"description\" content=\"Every blogger should have a test site. I have 5, (3 online 2 offline\/localhost). Why test site, some may ask. Test sites allow you to put your website\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/create-webserver-on-pc-the-fast-way\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Create Web Server On PC, The Fast Way\" \/>\n<meta property=\"og:description\" content=\"Every blogger should have a test site. I have 5, (3 online 2 offline\/localhost). Why test site, some may ask. Test sites allow you to put your website\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/create-webserver-on-pc-the-fast-way\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2007-02-13T15:16:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-07-22T11:29:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/localhost.jpg\" \/>\n<meta name=\"author\" content=\"Hongkiat.com\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Hongkiat.com\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/create-webserver-on-pc-the-fast-way\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/create-webserver-on-pc-the-fast-way\\\/\"},\"author\":{\"name\":\"Hongkiat.com\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/7cc686597d92f9086729e4bcc1577ba3\"},\"headline\":\"How To Create Web Server On PC, The Fast Way\",\"datePublished\":\"2007-02-13T15:16:29+00:00\",\"dateModified\":\"2022-07-22T11:29:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/create-webserver-on-pc-the-fast-way\\\/\"},\"wordCount\":398,\"commentCount\":21,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/create-webserver-on-pc-the-fast-way\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/localhost.jpg\",\"keywords\":[\"Localhost and Webserver\"],\"articleSection\":[\"Hosting\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/create-webserver-on-pc-the-fast-way\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/create-webserver-on-pc-the-fast-way\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/create-webserver-on-pc-the-fast-way\\\/\",\"name\":\"How To Create Web Server On PC, The Fast Way - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/create-webserver-on-pc-the-fast-way\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/create-webserver-on-pc-the-fast-way\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/localhost.jpg\",\"datePublished\":\"2007-02-13T15:16:29+00:00\",\"dateModified\":\"2022-07-22T11:29:09+00:00\",\"description\":\"Every blogger should have a test site. I have 5, (3 online 2 offline\\\/localhost). Why test site, some may ask. Test sites allow you to put your website\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/create-webserver-on-pc-the-fast-way\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/create-webserver-on-pc-the-fast-way\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/create-webserver-on-pc-the-fast-way\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/localhost.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/localhost.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/create-webserver-on-pc-the-fast-way\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Create Web Server On PC, The Fast Way\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/7cc686597d92f9086729e4bcc1577ba3\",\"name\":\"Hongkiat.com\",\"description\":\"This post is published by an HKDC (hongkiat.com) staff. (I.e., intern, staff writer, or editor).\",\"sameAs\":[\"https:\\\/\\\/www.hongkiat.com\"],\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/com\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How To Create Web Server On PC, The Fast Way - Hongkiat","description":"Every blogger should have a test site. I have 5, (3 online 2 offline\/localhost). Why test site, some may ask. Test sites allow you to put your website","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hongkiat.com\/blog\/create-webserver-on-pc-the-fast-way\/","og_locale":"en_US","og_type":"article","og_title":"How To Create Web Server On PC, The Fast Way","og_description":"Every blogger should have a test site. I have 5, (3 online 2 offline\/localhost). Why test site, some may ask. Test sites allow you to put your website","og_url":"https:\/\/www.hongkiat.com\/blog\/create-webserver-on-pc-the-fast-way\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2007-02-13T15:16:29+00:00","article_modified_time":"2022-07-22T11:29:09+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/localhost.jpg","type":"","width":"","height":""}],"author":"Hongkiat.com","twitter_card":"summary_large_image","twitter_creator":"@hongkiat","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Hongkiat.com","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/create-webserver-on-pc-the-fast-way\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/create-webserver-on-pc-the-fast-way\/"},"author":{"name":"Hongkiat.com","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/7cc686597d92f9086729e4bcc1577ba3"},"headline":"How To Create Web Server On PC, The Fast Way","datePublished":"2007-02-13T15:16:29+00:00","dateModified":"2022-07-22T11:29:09+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/create-webserver-on-pc-the-fast-way\/"},"wordCount":398,"commentCount":21,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/create-webserver-on-pc-the-fast-way\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/localhost.jpg","keywords":["Localhost and Webserver"],"articleSection":["Hosting"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/create-webserver-on-pc-the-fast-way\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/create-webserver-on-pc-the-fast-way\/","url":"https:\/\/www.hongkiat.com\/blog\/create-webserver-on-pc-the-fast-way\/","name":"How To Create Web Server On PC, The Fast Way - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/create-webserver-on-pc-the-fast-way\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/create-webserver-on-pc-the-fast-way\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/localhost.jpg","datePublished":"2007-02-13T15:16:29+00:00","dateModified":"2022-07-22T11:29:09+00:00","description":"Every blogger should have a test site. I have 5, (3 online 2 offline\/localhost). Why test site, some may ask. Test sites allow you to put your website","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/create-webserver-on-pc-the-fast-way\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/create-webserver-on-pc-the-fast-way\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/create-webserver-on-pc-the-fast-way\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/localhost.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/localhost.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/create-webserver-on-pc-the-fast-way\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How To Create Web Server On PC, The Fast Way"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/7cc686597d92f9086729e4bcc1577ba3","name":"Hongkiat.com","description":"This post is published by an HKDC (hongkiat.com) staff. (I.e., intern, staff writer, or editor).","sameAs":["https:\/\/www.hongkiat.com"],"url":"https:\/\/www.hongkiat.com\/blog\/author\/com\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-2x","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/157","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=157"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/157\/revisions"}],"predecessor-version":[{"id":60622,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/157\/revisions\/60622"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=157"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=157"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=157"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}