January 29th, 2004, 02:27 AM
which ip address to use?
Which ip should i use so that ppl can browse it? I dont know about IP things. Currently i am using http://localhost/xxxx to test my page.
First of all in the local area connection properties, i choose=> use the following IP address, e.g 10.0.0.3.....
And another computer also 10.0.0.4. This is to share files and play lan games.
After connecting to the internet address, there will be this IP 203.xxx.xxx
If a friend of mine would like to browse my page, the IP to use should be http://203.xxx. rite?
What is those dns things? I browse through some of the thread here and some say use dns to browse. If so, what is the dns i should put in there?
January 31st, 2004, 02:13 AM
Do you use a router to connect to the Internet? If you do, you need to create a port forwarding rule in the router to redirect all requests on port 80 (the port used for web pages) to the internal server (10.0.0.3). On the internal web server, you can leave the website hosting on the IP address of 10.0.0.2 - there is no need to change this.
If you don't use a router, but instead use a computer to share the Internet, the firewall on the computer should have similar options to forward all requests on port 80 to the internal server.
When someone then types 203.xxx.xxx.xxx from outside your network, they are sent to the external interface of the router (or internet-connection sharing computer). They are then forwarded to your web server.
If you only want to access your website using an IP address (by typing in http://203.xxx.xxx.xxx) you do not have to use DNS. If you want to access your website by using something like www.mydomain.com you will need to look at DNS. Check out http://www.zoneedit.com for free DNS for up to five domains.