Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>First, you need to configure your computer to get a static IP from your router. Instructions for how to do this can be found: <a href="http://www.hotcomm.com/FAQ/FAQ_staticIPXP.asp" rel="noreferrer">here</a></p> <p>For example, let's say you picked the IP address 192.168.1.102. After the above step is completed, you should be able to get to the website on your local machine by going to both <a href="http://localhost" rel="noreferrer">http://localhost</a> and <a href="http://192.168.1.102" rel="noreferrer">http://192.168.1.102</a>, since your computer will now always have that IP address on your network.</p> <p>If you look up your IP address (such as <a href="http://www.ip-adress.com/" rel="noreferrer">http://www.ip-adress.com/</a>), the IP you see is actually the IP of your router. When your friend accesses your website, you'll give him this IP. However, you need to tell your router that when it gets a request for a webpage, forward that request to your server. This is done through port forwarding. </p> <p>Two examples of how to do this can be found <a href="http://www.zeropaid.com/news/6160/introduction_to_port_forwarding/" rel="noreferrer">here</a> and <a href="http://www.youtube.com/watch?v=GWPUdW1kIJA" rel="noreferrer">here</a>, although the exact screens you see will vary depending on the manufacturer of your router (Google for exact instructions, if needed). </p> <p>For the Linksys router I have, I enter <a href="http://192.168.1.1/" rel="noreferrer">http://192.168.1.1/</a>, enter my username/password, Applications &amp; Gaming tab > Port Range Forward. Enter the application name (whatever you want to call it), start port (80), end port (80), protocol (TCP), ip address (using the above example, you would enter 192.168.1.102, which is the static IP you assigned your server), and be sure to check to enable the forwarding. Restart your router and the changes should take effect.</p> <p>Having done all that, your friend should now be able to access your webpage by going to his web browser on his machine and entering <a href="http://IP.address.of.your.computer" rel="noreferrer">http://IP.address.of.your.computer</a> (the same one you see when you go <a href="http://www.ip-adress.com/" rel="noreferrer">here</a> ).</p> <p>As mentioned earlier, the IP address assigned to you by your ISP will eventually change whether you sign offline or not. I <em>strongly</em> recommend using DynDns, which is absolutely free. You can choose a hostname at their domain (such as cuga.kicks-ass.net) and your friend can then always access your website by simply going to <a href="http://cuga.kicks-ass.net" rel="noreferrer">http://cuga.kicks-ass.net</a> in his browser. Here is their site again: <a href="http://www.dyndns.com/services/dns/dyndns/" rel="noreferrer">DynDns</a></p> <p>I hope this helps.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload