Title: Using WordPress without an Internet Connection
Last modified: August 21, 2016

---

# Using WordPress without an Internet Connection

 *  Resolved [john.coleman24](https://wordpress.org/support/users/johncoleman24/)
 * (@johncoleman24)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/using-wordpress-without-an-internet-connection/)
 * Hi There,
 * I have a unique problem. I need to install WordPress to use in a classroom that
   does not have access to the internet. Installing WordPress went as smoothly as
   it ever does, but it is loading pages incredibly slowly (often, close to a minute-
   long page loads, even loading them locally, sometimes timing out before the page
   loads completely and an empty site). We did a test with a fairly large static
   HTML site and it loads super-snappy, so I do not think it is a web server/networking
   issue.
 * My guess is that there are calls being made to external websites. And, if that
   is the issue, I am curious if there is any way to disable all external calls 
   from WordPress.
 * Anyhow, I know this is, at best, an edge case, but I sure could use some help
   with it. WordPress would be a great resource in this classroom for these students,
   but as slow as it is, it is not really usable. Thank you!

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/using-wordpress-without-an-internet-connection/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/using-wordpress-without-an-internet-connection/page/2/?output_format=md)

 *  [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * (@swansonphotos)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/using-wordpress-without-an-internet-connection/#post-4541652)
 * Many good teachers bring an internet connection to the classroom. Have you reviewed
   such options, that is not connecting thru the school site (for security reasons)?
   Many IPS’s provide such access.
 *  Thread Starter [john.coleman24](https://wordpress.org/support/users/johncoleman24/)
 * (@johncoleman24)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/using-wordpress-without-an-internet-connection/#post-4541658)
 * Thanks for your reply. To put it simply, internet access is strictly forbidden
   and will never be an option.
 * However, it is a program teaching graphic design, web design, scripting, UI design,
   etc., and having a working, contemporary platform to deploy to would really help
   the program out. As such, I am hopeful to find a way to make WordPress run (happily)
   in a fully offline environment.
 *  [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * (@swansonphotos)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/using-wordpress-without-an-internet-connection/#post-4541659)
 * > internet access is strictly forbidden
 * You can but you will need to setup a server and find a way for your class members
   to connect to it. Such will also likely violate such terms so I suggest you work
   with school administration for such. This forum is not here to help you circumvent
   school policy.
 *  Thread Starter [john.coleman24](https://wordpress.org/support/users/johncoleman24/)
 * (@johncoleman24)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/using-wordpress-without-an-internet-connection/#post-4541662)
 * Maybe I am not understanding you, but the WordPress server is in the classroom.
   And, WordPress is up and works, other than being too slow to actually use. My
   thought is that it is so slow because of a complete lack of Internet access, 
   so my hope is that there is some way to disable all external calls. I am not 
   looking to violate any policy, I just want to stand up a local, offline WordPress
   server with a “normal” level of performance.
 *  [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * (@swansonphotos)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/using-wordpress-without-an-internet-connection/#post-4541665)
 * Did you bring this device that has WPORG on it or is it a school provided machine?
 *  Thread Starter [john.coleman24](https://wordpress.org/support/users/johncoleman24/)
 * (@johncoleman24)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/using-wordpress-without-an-internet-connection/#post-4541666)
 * It is school provided, it is also the file/print server for the class.
 *  [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * (@swansonphotos)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/using-wordpress-without-an-internet-connection/#post-4541672)
 * Then the local group policy or other network/admin scripts/setup is invoking 
   rules, all of which your admins can and will be aware of. Again, you need to 
   work with your school’s folks on this.
 *  [Dave Naylor](https://wordpress.org/support/users/wpranger/)
 * (@wpranger)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/using-wordpress-without-an-internet-connection/#post-4541687)
 * **[@john](https://wordpress.org/support/users/john/).coleman **
 * Are you able to monitor network connections on your computer? I’m not sure which
   platform you’re on but if you can run a tool to monitor connection attempts it
   could help you debug your WordPress problem.
 *  Thread Starter [john.coleman24](https://wordpress.org/support/users/johncoleman24/)
 * (@johncoleman24)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/using-wordpress-without-an-internet-connection/#post-4541711)
 * [@pioneer](https://wordpress.org/support/users/pioneer/), I appreciate the help,
   but I am not sure where you are going with that. Lack of Internet is not a group
   policy, or even firewall setting. There is physically no Internet in this facility.
 * [@wpranger](https://wordpress.org/support/users/wpranger/), that is a good idea.
   It is a Win2008 Server, so I will look around for some options. My gut is that
   it is the core updates that are the biggest problem, but I am betting there are
   some API calls (or something similar) in there too.
 * Thanks for the help!
 *  Thread Starter [john.coleman24](https://wordpress.org/support/users/johncoleman24/)
 * (@johncoleman24)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/using-wordpress-without-an-internet-connection/#post-4541805)
 * OK, so I fixed this issue, but in a somewhat unorthodox/kludgey way. But, for
   the benefit of anyone who reads this later, here is how I got the speed up.
 * The issue was external website calls from WordPress. Tracking these down was 
   no easy feat. What ended up working the best, mentioned by [@wpranger](https://wordpress.org/support/users/wpranger/)
   was to install a network monitor on the server. Since this is a Windows Server,
   I used Microsoft Network Monitor:
 * [Microsoft Network Monitor](http://www.microsoft.com/en-us/download/details.aspx?id=4865)
 * But, that wasn’t enough to trap these. That is, since there is no Internet access,
   these requests were never making it out of the network card of the server. So,
   what I did was setup a test server (with just WP installed on it), used my main
   server as the DNS server, and then logged all DNS requests.
 * From there, I was able to trap a list of all of the hosts MY installation was
   trying to call. To simplify things, I installed a plugin to completely turn off
   core updates, and I removed the URI’s and version numbers from my plugins to 
   keep them from checking for updates.
 * Then, with my list of DNS requests, I simply set each host to my localhost IP
   in my hosts file. As such, here is what my hosts file looks like (yours might
   be different, based on your plugins):
 * 127.0.0.1 fonts.googleapis.com
    127.0.0.1 1.gravatar.com 127.0.0.1 wordpress.
   org 127.0.0.1 gmpg.org 127.0.0.1 0.gravatar.com 127.0.0.1 [http://www.w3.org](http://www.w3.org)
   127.0.0.1 update.wordpress.org 127.0.0.1 api.wordpress.org 127.0.0.1 ajax.aspnetcdn.
   com 127.0.0.1 planet.wordpress.org 127.0.0.1 codex.wordpress.org
 * Once I made those additions to my host file, WordPress runs about 20X faster (
   page loads in much less than a second, vs 5-10 seconds). It would be nice if 
   there was a plugin that did this, but again, I get that I am an edge case. I 
   hope that helps!
 *  [Pukeko Creative](https://wordpress.org/support/users/pukekocreative/)
 * (@pukekocreative)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/using-wordpress-without-an-internet-connection/#post-4541862)
 * [@john](https://wordpress.org/support/users/john/).coleman
 * I have spent SO long searching for the answer to this same issue and appreciate
   your final post, it is incredibly useful. I’m surprised that there a so few installations
   of WordPress on closed networks – judging by the documentation for such a setup,
   which is non-existent. If you ever write a plugin to solve this issue I will 
   be downloading it! In fact, I’d love a copy of the plugin you have written if
   you’re able to share it? Thanks, Karen
 *  [hbirch](https://wordpress.org/support/users/hbirch/)
 * (@hbirch)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/using-wordpress-without-an-internet-connection/#post-4541871)
 * [@john](https://wordpress.org/support/users/john/).coleman24
 * I’m stunned by the initial lack of help you received. I find it very frustrating
   as someone who works offline often being told that the problem is my choice to
   work offline, not the software’s insistence on reaching a host no-matter-what.
   It’s a real failure on wordpress’ part to not either have a configuration option
   to deal with this problem OR some instructions on server setup that would help
   shorten the DNS wait time before giving up. I have been running into the same
   problem locally off and on… there really must be some server configuration we
   can do to cause wordpress/php/local-browser to fail quicker when it DNS is unresolvable
   or a destination IP is unreachable.
 *  [fasc](https://wordpress.org/support/users/fasc/)
 * (@fasc)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/using-wordpress-without-an-internet-connection/#post-4541876)
 * Thank you john.coleman24! It was exactly what I needed!
 *  [mishamsk](https://wordpress.org/support/users/mishamsk/)
 * (@mishamsk)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/using-wordpress-without-an-internet-connection/#post-4541881)
 * Great, seems to be just what I was looking for! Though the process is inconvenient,
   shame on wordpress.
 * I am developing my site locally on my laptop and I would like to do it even without
   internet (i.e. during long flights). Changing hosts all the time is an option,
   but it would be a blessing to have normal solution.
 *  [najamelan](https://wordpress.org/support/users/najamelan/)
 * (@najamelan)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/using-wordpress-without-an-internet-connection/#post-4541883)
 * This definitely is a wordpress bug. Moreover it’s a security issue, cause it 
   most definitely leaks that you have wordpress running, as well as the plugins
   you have and probably also your site url or blog name. You might not always want
   that, and for security you might run a server that doesn’t allow outbound connections.
 * Working around this is not easy, but I think that there are several options.
   –
   hosts file – firewall – php.ini settings disabling the functions that connect
   out
 * still haven’t found anything convenient though.

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/using-wordpress-without-an-internet-connection/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/using-wordpress-without-an-internet-connection/page/2/?output_format=md)

The topic ‘Using WordPress without an Internet Connection’ is closed to new replies.

## Tags

 * [Offline](https://wordpress.org/support/topic-tag/offline/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 20 replies
 * 10 participants
 * Last reply from: [najamelan](https://wordpress.org/support/users/najamelan/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/using-wordpress-without-an-internet-connection/page/2/#post-4541890)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
