Search code examples
phpnetwork-programmingwifihardwareconfigure

how to make htdocs folder accessible over internet


Hello Friends , I use to display my website by giving this link [http://myipaddress/www.abc.com] to my friends over internet Here i was using my broadband connection but now i purchase a router and i am connecting my internet through it and now when i give the same link .They can't able to access my website..need help guy.

Thank you in advance


Solution

  • You will need to portforward your Apache Port (typically 80 unless specified different

    use: http://www.portforward.com

    for information how to portforward with a router.


    Access your router settings? If you do not know:

    1. Open Command prompt
    2. Issue ipconfig

    You should be presented with:

    Ethernet adapter Local Area Connection:
    
       Connection-specific DNS Suffix  . :
       Link-local IPv6 Address . . . . . : fe80::d168:1665:65c:7c2e%12
       IPv4 Address. . . . . . . . . . . : 192.168.0.2
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Default Gateway . . . . . . . . . : 192.168.0.1
    

    Or something that looks like this.

    1. Type your default gateway into your URL bar