SlideShare a Scribd company logo
LOCALHOSTING
WORDPRESS
WHO BE DAT
Owen Winkler
Web Architect @ Critical Hit
owen@criticalhit.us
WHAT IS LOCALHOSTING?
Use your own computer as a server
WHY SERVE FROM LOCALHOST?
PHP doesn't run when you access the files directly
ADVANTAGES
Doesn't taint production
No network required
Configure your environment how you like
Faster deployment while testing
Easier to use a debugger
Less $$ than using a host!
REQUIREMENTS
A computer
Server Software - Apache/Nginx/Lighty, MySQL
WordPress
WINDOWS SERVERS
WAMP
XAMPP
Aprelium Abyss
Many Alternatives..
MAC SERVERS
MAMP
MacPorts
SEPARATE INSTALLATION?
Why do this?
VIRTUALHOST AND /ETC/HOSTS
Oh man, Owen just took us down the rabbit hole...

hostname - The "domain name" of your server, points to an IP
address.
DNS - A service (usually provided by your ISP) that associates
a domain to an IP.
VirtualHost - A configuration that associates a directory of
web files with a hostname and IP address.
/etc/hosts - A file on your computer that lets you override the
IP address for any domain.
APACHE MODULES
Apache modules provide extra functionality beyond just what
Apache does by itself.
Some useful modules:
mod_php
mod_deflate
mod_expires
mod_vhost_alias
MAPPING A DOMAIN TO A DIRECTORY
OR, WHY I BOTHERED TO MENTION ANY OF THIS...

< it aH s *8 >
V ru l ot :0
Ue ao ia Nm O f
sC n nc la e f
Vr ul ou et o t" :w m/ w /0 hd c"
it a Dc mn Ro c / ap ww %/ to s
<i et r /
Dr c oy >
Ot os Fl oS m ik
pi n o lw yL ns
Al wv ri eN n
lo O er d oe
<D rc oy
/i e tr >
<i et r ": wm /w / >
Dr c oy c/ a pw w"
Ot os Id xs F lo Sm ik M li iw
pi n n ee o lw y Ln s ut Ve s
Al wv ri eA l
lo O er d l
Od ra lw dn
re lo ,e y
al wf o al
lo rm l
<D rc oy
/i e tr >
< Vr ul ot
/ it a Hs >

More Related Content

More from Owen Winkler (6)

PPTX
Source control management
Owen Winkler
 
PDF
WordCamp Philly 2011 - put your business on the web
Owen Winkler
 
PPTX
Be one of us: The WordPress Community
Owen Winkler
 
PPTX
The Business Of Open Source
Owen Winkler
 
PPTX
Drupal security best practices
Owen Winkler
 
PPT
Deployment And Change Management
Owen Winkler
 
Source control management
Owen Winkler
 
WordCamp Philly 2011 - put your business on the web
Owen Winkler
 
Be one of us: The WordPress Community
Owen Winkler
 
The Business Of Open Source
Owen Winkler
 
Drupal security best practices
Owen Winkler
 
Deployment And Change Management
Owen Winkler
 

Recently uploaded (20)

PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PPTX
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PDF
July Patch Tuesday
Ivanti
 
PDF
CloudStack GPU Integration - Rohit Yadav
ShapeBlue
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
PDF
Women in Automation Presents: Reinventing Yourself — Bold Career Pivots That ...
DianaGray10
 
PDF
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
PPTX
Darren Mills The Migration Modernization Balancing Act: Navigating Risks and...
AWS Chicago
 
PDF
Français Patch Tuesday - Juillet
Ivanti
 
PDF
Apache CloudStack 201: Let's Design & Build an IaaS Cloud
ShapeBlue
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
TrustArc Webinar - Data Privacy Trends 2025: Mid-Year Insights & Program Stra...
TrustArc
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
July Patch Tuesday
Ivanti
 
CloudStack GPU Integration - Rohit Yadav
ShapeBlue
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
Women in Automation Presents: Reinventing Yourself — Bold Career Pivots That ...
DianaGray10
 
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
Darren Mills The Migration Modernization Balancing Act: Navigating Risks and...
AWS Chicago
 
Français Patch Tuesday - Juillet
Ivanti
 
Apache CloudStack 201: Let's Design & Build an IaaS Cloud
ShapeBlue
 
Ad

Localhosting WordPress