-
Notifications
You must be signed in to change notification settings - Fork 183
Installing and Configuring XAMPP
Bucky Roberts edited this page Jul 16, 2015
·
5 revisions
First, we need to install and configure XAMPP so that we have a local environment for development.
Download and install XAMPP from the official XAMPP website.
- XAMPP is installed using a simple wizard
- Keep all of the default settings during installation
After XAMPP is installed, open the file C:\xampp\apache\conf\extra\httpd-vhosts.conf
Add the following code snippet to the bottom.
- This tells XAMPP that when we go to developers.thenewboston.com in our browser, take us to this folder
## Custom configuration
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/thenewboston-Social-Network"
ServerName tnb-dev.com
</VirtualHost>
XAMPP is now installed and setup properly. You are now ready to edit your Windows host file.