PDA

View Full Version : How do I host my page?


Pokeman186
06-10-2007, 01:06 AM
I built a home server, and have a website hosting software called "AppServ." Now, where do I actually put my html code in there, and how do I link my domain name to the site? Yes, I purchased a domain name from godaddy.com. I hope someone can help me.

blue60007
06-10-2007, 10:08 AM
Here's some info:
http://www.pcmech.com/article/creating-a-webfile-server/page-4.htm

The problem with a home server is unless you are paying for a dedicated IP at your house, it could change. Now, I don't have a dedicated IP but I only see my IP change once in a great while. If you set your domain to point to your current IP and it changes 3 months from now your domain would be broken until you change it. I'm not sure if Godaddy will work with dynamic IP's but I'll try to answer your other question...

Open up C:\AppServ\www\ and put your website code in there (this is your root directory). You can access it locally on your server by going to http:\\localhost\ Also, you can access it from any computer on your local network by putting in your server's local IP (ie, 192.168.0.101). Finally, you could test your webserver by using your IP (not the local one) and seeing if you get there. Note you'll have to set up your router (if you've got one) to forward port 80 (http) to your server's local IP. It's also advisable to assign your server a static (local) IP because it might change if you reboot... You'll find the settings under DHPC - my router calls this "reservations" but I've seen it called other things.

Let me know if something above was confusing...