How to Host Your Own Website
You do not need to pay to host your website on a company as it is easy to host your own website with your home computer. You can even register a decent domain name for free.
(This guide is for Windows)
1. Open command in Windows. Type ipconfig/all
2. Write down IP adress, subnet mask, default gateway, and DNS servers. These will be needed later.
3. Open up network connections folder.
4. Right click the internet you use and select properties.
5. Scroll through the menu until you see Internet protocol. Use the protocol that matches for IP version. Highlight it and click properties.
6. Click “Use the following IP adress”. If it is already checked, you already have a static IP.
7. If not enter the info you copied down except the last digit of the ip address should be different than the one you copied down. (I used the same and it still works).
8. Click ok.If you get a message saying Ip address is already in the network, choose a different last number.
9. If you get a message saying Ip address is already in the network, choose a different last number.
10. Try connecting to the internet. Did it work? If it didn’t work, contact your Internet Service Provider. Because this problem is the DNS servers. They will be able to tell you which DNS servers to use.
11. You have completed the first step which is to setup a static address. Please note: This usually requires a router to do. The only time it doesn’t is if your ISP allows you to get a static IP address without contacting them first. This was written using windows xp. To learn how to setup a static IP on other operating systems go here:http://www.portforward.com/networking/staticip.htm The reason why this requires a router is because you are just setting up a static ip on your router. It may be possible to do this without a router but it just depends on your internet service provider. See above note.
12. Download wampserver or xampp or only apache.
13. Forward port 80 from the static ip you just configured to apache. Go here to learn how to do this: portforward.com It uses utorrent as an example. Do the same thing but forward it to the application “apache” instead of “utor1?. If you were able to setup a static ip without using a router or contacting your ISP, just open port 80 in your firewall.
14. Visit your internet ip in your browser. You should see your apache’s home page
15. You can then get a name for internet ip from no-ip.com through add host. Leave options as default. You can also use the software to update your ip if it is dynamic.
Comments