How to Set Up a Website on a Local Computer
- 1). Download XAMPP from apachefriends.org to your local system and unzip the package to your desktop. Locate the setup_xampp.bat installer file and double-click it to begin the installation. Follow the prompts that suit your environment and preferences, ensuring that your installation will be located in the C:\xampp directory.
- 2). Open the XAMPP control panel and click the Apache "start" button. If the work you will be doing is dynamic, click the MySQL "start" button. Once both services have successfully started, open a browser and navigate to http://localhost/xampp. If your installation went as planned, you will see a message congratulating you on a successful installation.
- 3). Secure your new local web server by clicking on the "security" link on the main page. Note the status of all the available services and appropriately secure them using the xampp security link located just below the status window.
- 4). Create a new directory called "mywebsite" on your local system within the xampp directory. The path should resemble C:\xampp\htdocs\xampp\mywebsite.
- 5). Name your web pages appropriately, depending on whether your website will be static, dynamic or a mixture of both, and place them in the "mywebsite" directory.
- 6). Navigate to http://localhost/xampp/mywebsite to view your newly created website on your local system.