2009年8月3日星期一

How to i add my site to the dns host server?

i have a host registered with dyndns.com for free, i am trying to host a small site from my computer at home. how to i edit the sites contents, or even look at it, i go to it and get a sex page (generic)?? please help me to add stuff to the site! unluss there is a easier, free way to host a site.





* 8 hours ago


* - 3 days left to answer.





Additional Details





I DONT WANT TO USE GEOCITIESor any other free web service!!!!!!! i want to know how to add content to the dns host!





6 hours ago


how do i add content. there is nowear in dyndns.com to add content. !





22 minutes ago


i got that, the whole point was that i host the site from my house, but how do i link my index.htm or w/e to the host on dydns. com, um, i guess please tell me how to use the hostname, how can i use the host service that the site provides....just tell me how to get my site online with dyndns.com , thank you





(this is a continuation/re-post of the question because it did not get answered. please help me)
How to i add my site to the dns host server?
There are several things required to host a site on your local machine besides DNS. DNS just does a lookup to send requests to the correct IP it is NOT A HOST!





Here is what you have to have in order to host a site.





1. Web Server on your local computer.


You can use IIS (microsofts web server), PWS (microsofts personal web server - visit Microsoft for details on getting them setup, not too hard but not easy either) or Apache a free webserver for linux, windows, or any OS. Currently Apache is the number one choice for most internet web servers!


http://apache.org you can also find easy to install packages for your computer. Once the webserver is working the DNS will point to that server and it will respond. You do have to have Apache or IIS working for them to send back a page!





2. An established web site for that Web server! You can build one and put the pages in the correct directory depending on the web server you are using. IIS uses a different directory than does Apache so all depends on the web server where you need to load your website!





3. You need to forward port 80 for the web server to work. That also means you need to change your routers default management page from port 80 to something else or it will not forward! You can change your routers port to 8080 or 81 etc using the routers setup pages.





4. You need to be sure your ISP (who supplies your connection) allows you to run a server! This is important because if they don't and you try you will find it simply won't work or you will find you will get dropped and have NO INTERNET for violating the terms of service.





5. You need your DNS pointed to YOUR IP which is all you have setup at this point!





In other words there is more too it than simple DNS entry!


ALL DNS DOES is point a name (your domain name) to your IP! It does nothing else nor can it.





GO to the Apache site, read and re-read it.


Once you understand what is involved you will see why paying a couple of dollars per month is well worth the expense for website hosting! Don't forget if your computer turns off, so does your website, if you cable or DSL goes down, so does your website. AND the outbound speed of your connection will limit the amount of users that can see your website at one time. Generally this is low on most home connections!
How to i add my site to the dns host server?
If you're hosting the site on your PC, then just edit the content on your PC! Make sure that your router is forwarding port 80 to your PC.





Dyndns.com only handles the name resolution for you. You need to tell them the public IP address of your connection, either manually or by installing one of the many dynamic dns monitoring clients on one of your systems. Once that's done, ping your dyndns url and make sure that name resolution is working properly, i.e. that it responds with the IP address of your external interface.





I can't tell you how to edit your content as I don't even know what web server you're running. Read the docs.





And as to configuring dyndns, it's all on their website. Again, read and you will be enlightened.
Reply:You are going to have to call dyndns.com and get them to give you a walk through.
Reply:You need to load and run a web server on your machine. You then need to set up port forwarding on your router pointing to your internal IP address for all the ports you require. You also need to open these ports in the exception list on your firewall. You then place your pages in the document root of the server. Just having the dynamic dns should mean external machines will reach your public IP address, but you can not use it from your own network, as it will be looking at your router from the wrong side. I find dynamic dns very unreliable for this, better is a fixed public IP address, but you need to pay more to your ISP for this. Also many ISPs will not allow you to run a web server, they block port 80 incoming unless you subscribe to a business dsl account.


没有评论:

发表评论