Virtual Host Bloat Causes Apache To Burp

Testing a local install of WordPress was a nightmare. It felt like I was using a dial-up connection. The crazy thing was I was testing locally and the whole benefit of testing locally is you don’t have to rely on the speed of the Internet. It’s supposed to be lightening fast.

Why the heck was it so slow? Well, I read this article (and several others) and it looked like my Virtual Hosts were slowing things down. I went into my hosts file:

[prettify]
C:\Windows\System32\drivers\etc\hosts
[/prettify]

And commented out all the virtual hosts I was using.

[prettify]
127.0.0.1 localhost
#127.0.0.1 wp-test.kingluddite.com
#::1 localhost
#127.0.0.1 bhs.org.local
#127.0.0.1 dev.oceancharterschool.org
#127.0.0.1 wordpress-wednesday.com
#127.0.0.1 dev-wordpress.oceancharterschool.org
[/prettify]

The local wordpress install I am messing with is located inside the htdocs folder. I guess the lesson learned is don’t overdose on Virtual hosts or you’ll be slowed down tremendously when your testing locally.

Leave a Reply

Your email address will not be published. Required fields are marked *