Hey there, I have a computer in which XAMPP is installed and is fully functional. I can type my IP at the library, perhaps, and access my files in htdocs. However, I still need to figure out how to assign a domain to my home Server. Also how do I make three websites go hook into my home server?
You will need to add/modify the DNS records for www.site1.tld, www.site2.tld and www.site3.tld to all point at your home IP address. This is done through whomever is hosting your DNS, perhaps your domain registrar. If you don't have DNS hosting already, or your domain registrar charges for this, take a look at http://www.everydns.com for free DNS hosting. After you have your DNS squared away, you will want to set up Name-based virtual hosts inside of Apache, this will allow you to map www.site1.tld to a different htdocs than www.site2.tld, etc. Your IP address will still map back to the "default" htdocs, as Apache will not have a hostname know which of the sites to present. Let me know if you need additional assistance.
Great PM Sent So I have registered my 3 domains, one through 1and1 and two through enom.com What do I set the DNS Servers to? How do I create Virtual Hosts on Xampp
If you need to host your domain on local mashine, you need to have that mashine always up, you need to have static IP address (or use dynamic dns service - google it - if your IP changes from time to time ) For different sites you will need to change/add some lines to htdocs.conf file of Apache server , also you will need to add some lines to your hosts file , said that , you will need good tutorial as you are new to this matter eg http://blog.indodx.com/archives/virtual-host-on-windows-with-xampp.jsp good luck
What I dont understand is, is how to get ONE freaking domain to work first... I signed up for DynDNS and i dont know wut to do then
I will switch to paid hosting while i accumulate more revenue. But I need to switch to a reliable host for a week persay That's why I need to host all three on my home server.
The dynamic ip services give you a small program that runs and updates your ip, but that means that you will get a website address provided by the dynamic service. Once that's sorted, you then point your domain name at the no-ip address (or whatever you use) and voila! You could use a directory from that which a different domain can point at if you wish. For example you could put a forum in a subdirectory and then point to that easily...
I have a dynamic IP I have xampp i created two hosts in np-ip.com and put my IP in it and then i took the hostname, tindora.myvnc.com and set as my dns server what else do i need to do with apache?