{"id":47576,"date":"2019-09-16T08:06:15","date_gmt":"2019-09-16T13:06:15","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/?p=47576"},"modified":"2020-01-21T16:26:26","modified_gmt":"2020-01-21T21:26:26","slug":"troubleshooting-the-localhost-environment-for-wordpress","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/troubleshooting-the-localhost-environment-for-wordpress\/","title":{"rendered":"Troubleshooting the Localhost Environment for WordPress"},"content":{"rendered":"\n<p>Hosting a local development site is the best way to learn more about WordPress and make custom modification to your site. In this article, you\u2019ll learn\u2026<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"#whyismylocalsitesoslow\">Why is my local site slow?<\/a><\/li><li><a href=\"#sitecannotbefound-domaincan\u2019tbereached\">Local site cannot be reached in browser<\/a><\/li><li><a href=\"#cloudalternatives\">Cloud alternatives for WordPress<\/a><\/li><\/ul>\n\n\n\n<p class=\"alert alert-info\">When you\u2019re ready to take your local site online, <a href=\"https:\/\/www.inmotionhosting.com\/wordpress-hosting\">WordPress hosting<\/a> is the best option.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"whyismylocalsitesoslow\">Why Is My Local Site So Slow?<\/h2>\n\n\n\n<p>Your localhost site should be very fast, because it skips the Internet entirely and loads the site directly from your computer. If your site is loading slowly then you must check the code of the site itself. For example, the WordPress theme is probably what\u2019s causing the slowness. Check the theme to see if it is <a href=\"https:\/\/gtmetrix.com\/defer-parsing-of-javascript.html\">deferring JavaScript parsing<\/a>. At the very least, contact the theme developer for assistance.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"sitecannotbefound-domaincan\u2019tbereached\">Site Cannot Be Found &#8211; Domain Can\u2019t Be Reached<\/h2>\n\n\n\n<p>Remember your localhost is running off an internal web server. If you go to your local virtual host via a domain (for example, <em>site.local<\/em>) you may get an error in your browser that the domain cannot be reached. There are a few different causes of this error.<\/p>\n\n\n\n<p><strong>Make sure to launch your servers.<\/strong> Whether you\u2019re using a self-installed LAMP stack or a proprietary program like MAMP or XAMP, you will need to make sure that the Apache or Nginx web server is running. If not, your browser will try to search the Internet for your local domain and pull up no results.<\/p>\n\n\n\n<p><strong>You may need to restart your server.<\/strong> Changes to the web server configuration require a restart. Making a modification like adding a virtual host (basically a new a site) counts heavily as a configuration change and will not take effect until the web server has restarted. Most local development environment will perform this restart automatically when you add a new host. If it\u2019s still not working, you may want to try rebooting the computer.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"cloudalternatives\">Cloud Alternatives<\/h2>\n\n\n\n<p>If you decide that localhost development is too complicated, there are cloud-based solutions that can be helpful. One of the easiest and fastest ways to launch WordPress test environments is through a service like <a href=\"https:\/\/www.boldgrid.com\/support\/cloud-wordpress\">Cloud WordPress<\/a>.<\/p>\n\n\n\n<p>Cloud WordPress lets you launch as many WordPress test environments as you need and comes free with the premium version of BoldGrid.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hosting a local development site is the best way to learn more about WordPress and make custom modification to your site. In this article, you\u2019ll learn\u2026 Why is my local site slow? Local site cannot be reached in browser Cloud alternatives for WordPress When you\u2019re ready to take your local site online, WordPress hosting is<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/troubleshooting-the-localhost-environment-for-wordpress\/\"> Read More ><\/a><\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4325,56],"tags":[],"class_list":["post-47576","post","type-post","status-publish","format-standard","hentry","category-wordpress-hosting","category-wordpress"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Troubleshooting the Localhost Environment for WordPress | InMotion Hosting<\/title>\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.inmotionhosting.com\/support\/edu\/wordpress\/troubleshooting-the-localhost-environment-for-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Troubleshooting the Localhost Environment for WordPress | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"Hosting a local development site is the best way to learn more about WordPress and make custom modification to your site. In this article, you\u2019ll learn\u2026 Why is my local site slow? Local site cannot be reached in browser Cloud alternatives for WordPress When you\u2019re ready to take your local site online, WordPress hosting is Read More &gt;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/troubleshooting-the-localhost-environment-for-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-09-16T13:06:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-01-21T21:26:26+00:00\" \/>\n<meta name=\"author\" content=\"Christopher Maiorana\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Christopher Maiorana\" \/>\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.inmotionhosting.com\/support\/edu\/wordpress\/troubleshooting-the-localhost-environment-for-wordpress\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/troubleshooting-the-localhost-environment-for-wordpress\/\"},\"author\":{\"name\":\"Christopher Maiorana\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f\"},\"headline\":\"Troubleshooting the Localhost Environment for WordPress\",\"datePublished\":\"2019-09-16T13:06:15+00:00\",\"dateModified\":\"2020-01-21T21:26:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/troubleshooting-the-localhost-environment-for-wordpress\/\"},\"wordCount\":392,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"articleSection\":[\"WordPress Hosting\",\"WordPress Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/troubleshooting-the-localhost-environment-for-wordpress\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/troubleshooting-the-localhost-environment-for-wordpress\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/troubleshooting-the-localhost-environment-for-wordpress\/\",\"name\":\"Troubleshooting the Localhost Environment for WordPress | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2019-09-16T13:06:15+00:00\",\"dateModified\":\"2020-01-21T21:26:26+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/troubleshooting-the-localhost-environment-for-wordpress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/troubleshooting-the-localhost-environment-for-wordpress\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/troubleshooting-the-localhost-environment-for-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Troubleshooting the Localhost Environment for WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f\",\"name\":\"Christopher Maiorana\",\"description\":\"Christopher Maiorana joined the InMotion community team in 2015 and regularly dispenses tips and tricks in the Support Center, Community Q&A, and the InMotion Hosting Blog.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/chris-m-4623144b\/\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/christopherm\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Troubleshooting the Localhost Environment for WordPress | InMotion Hosting","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.inmotionhosting.com\/support\/edu\/wordpress\/troubleshooting-the-localhost-environment-for-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"Troubleshooting the Localhost Environment for WordPress | InMotion Hosting","og_description":"Hosting a local development site is the best way to learn more about WordPress and make custom modification to your site. In this article, you\u2019ll learn\u2026 Why is my local site slow? Local site cannot be reached in browser Cloud alternatives for WordPress When you\u2019re ready to take your local site online, WordPress hosting is Read More >","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/troubleshooting-the-localhost-environment-for-wordpress\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2019-09-16T13:06:15+00:00","article_modified_time":"2020-01-21T21:26:26+00:00","author":"Christopher Maiorana","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Christopher Maiorana","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/troubleshooting-the-localhost-environment-for-wordpress\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/troubleshooting-the-localhost-environment-for-wordpress\/"},"author":{"name":"Christopher Maiorana","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f"},"headline":"Troubleshooting the Localhost Environment for WordPress","datePublished":"2019-09-16T13:06:15+00:00","dateModified":"2020-01-21T21:26:26+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/troubleshooting-the-localhost-environment-for-wordpress\/"},"wordCount":392,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"articleSection":["WordPress Hosting","WordPress Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/troubleshooting-the-localhost-environment-for-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/troubleshooting-the-localhost-environment-for-wordpress\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/troubleshooting-the-localhost-environment-for-wordpress\/","name":"Troubleshooting the Localhost Environment for WordPress | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2019-09-16T13:06:15+00:00","dateModified":"2020-01-21T21:26:26+00:00","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/troubleshooting-the-localhost-environment-for-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/troubleshooting-the-localhost-environment-for-wordpress\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/troubleshooting-the-localhost-environment-for-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Troubleshooting the Localhost Environment for WordPress"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/c6922c56c84e17079fd558e07b7ef72f","name":"Christopher Maiorana","description":"Christopher Maiorana joined the InMotion community team in 2015 and regularly dispenses tips and tricks in the Support Center, Community Q&A, and the InMotion Hosting Blog.","sameAs":["https:\/\/www.linkedin.com\/in\/chris-m-4623144b\/"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/christopherm\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/47576","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=47576"}],"version-history":[{"count":5,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/47576\/revisions"}],"predecessor-version":[{"id":52052,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/47576\/revisions\/52052"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=47576"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=47576"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=47576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}