Emulating the web production environment with an Apache HTTP server running on a Windows 7 development machine
To minimize overhead costs of my website, I would restrain myself from buying a hosted plan until my website is launch-able. In the process of developing my website, I will want my tests to be as close to the real thing as possible.
This meant that when I type in the real domain of my website in my browser location bar, my browser will connect to my development web server, instead of the web server which my domain is being parked at.
I was using Windows 7 and an instance of Apache HTTP server as my development environment when I achieved that. My Apache HTTP server was listening at port 80 for HTTP requests.
There are two main steps to achieving my objective:
- Routing HTTP requests, made to the actual domain, to my local machine
- Configuring Apache HTTP server to serve HTTP requests directed at the actual domain
Follow us