Go to the Apache web site, download the Apache web server, install it as a service (if possible - it's better).
Test your Apache installation opening your web browser and accessing http://localhost/ - You should see a page confirming that your installation was successful. Otherwise, Apache may not be running.
That's it for server software, you can optionally install PHP and MySQL if you need them. Don't forget to set up your firewall properly.
In ZoneAlarm, click the second tab in the left menu, and select "Medium" for security in both cases.
^ Hide
Click here if you need to edit Apache's settings
If you need to change Apache's configuration, you need to edit its configuration file called httpd.conf located under the conf directory inside the installation folder (e.g. C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf). Whenever you change something in the configuration file, you need to restart the Apache web server for changes to take effect. To do so, right-click the Apache icon in the system tray, click the "Open Apache Monitor" menu entry, and click the "Restart" button. You can also open MS-DOS as an administrator, type services.msc, and hit "Enter" to open the list of services running in the background. Then locate Apache in the list, right-click it and click "Restart".
^ Hide
Go to the web site where you bought your domain name, access your domain name control panel and change the DNS information of the domain name you want to host to:
If you can't add the 4 entries in your domain name control panel, only 3 are alright. Save.
Go to FreeDNS, create an account if you haven't yet. Go to the menu entry "Domains", click "Add A Domain", type in your domain name, and select if you want other FreeDNS users to be able to use your domain name or not, using the "Shared State" option. Click "Submit". Then, in the menu entry, click "Subdomains". In the list of domains and subdomains, click your domain name where there's an A in front of it and edit the form with this information:
And save. Click "Add" and create a DNS entry for the "www" subdomain using this information:
Save. Now click "Dynamic DNS" in the menu entry. Every time you connect to the Internet, your IP address will probably change. Therefore, you need to let FreeDNS know your new IP address to redirect traffic to your computer. You can do this automatically using a dynamic DNS client. Click the "Dynamic DNS Clients" link to have a list. I recommend you to use FreeDNS Update. Download it, install it on your computer, fill in your username and password, click the "Settings" tab, check the "Minimize on start" option, click the "Get domain list" button to retrieve your list of domain names and subdomains on FreeDNS, click the button "Update now" and click the "Hide" button. Copy FreeDNS Update's shortcut to the Windows "Startup" folder for the application to execute automatically each time you start your computer. You are now done with FreeDNS configuration.
What's next? Now that your web site is up and running, you can edit your public web page. It is located under the htdocs directory in the Apache installation directory. You can also let Google handle your mail.
If you want Google to handle all your mails using your own domain name, go to Google Apps, sign up using the Standard Edition (free of charge), follow the instructions, then go to your FreeDNS control panel, click "Subdomains" in the menu entry, check the subdomains that have an "MX" entry and click "Delete selected" to remove existing MX records on your domain name. Then, click the "[ add ]" link in front of your domain name (not the one at the bottom) and add the following records:
Once you're done, log into Google Apps, click "Service settings > Email", click "Change URL", select the second option to have an URL like http://mail.yourdomainname.com and click "Continue". You're done.