Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Local Server with XAMPP? Secure? (WordPress, Windows)

Hi guys,

Starting to get interested in WordPress however I don't want my "site" to be live at all and want to create it all privately so I don't have to worry about clicking on certain things etc.

Just did this course (https://teamtreehouse.com/library/local-wordpress-development) and did a bit of researching on XAMPP (on windows) to see how safe/secure it is. It seems a lot of things go on in the background when running this (correct me if I'm wrong). So what would be the best/most secure way to run a local server for only purpose of creating stuff in wordpress? I set a few passwords for Mysql and xampp looking at tutorials on youtube and read some other forums and they said to install mysql and apache separately? Please keep in mind I don't know much about this hosting/server stuff.

Appreciate it, Jamie

1 Answer

James Barnett
James Barnett
39,199 Points

With XAMPP I'd would just remove any firewall rule that allows inbound traffic to XAMPP.

I'd uncheck XAMPP on the allowed programs list, like in this screenshot

more details here: https://berninaofamerica.zendesk.com/hc/en-us/articles/200751730-Windows-7-Windows-Firewall-Add-or-Remove-an-Exception

Thank you James. I have mcafee antivirus so I can't block the files manually like you showed. In mcafee there is an internet connection for programs where you can block the incoming/outgoing. So i blocked the outgoing for XAMPP application apache and mysql and everything seems to run smoothly still. So this will definitely keep everything secure and prevent anything from happening?

You don't recommend any other software such as WAMP or something?

James Barnett
James Barnett
39,199 Points

XAMPP, WAMP and similar software is all the same. You could use nitrous.io instead, it a dev box in the cloud you can even keep using your desktop IDE. That would remove all requirements for the firewall security stuff from you.

further reading

Thanks so much James, very helpful and all of your other comments on other people's posts are so valuable, great to have someone like you around here.